wok view getmail/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 7bb096863642
children eece70964091
line source
1 # SliTaz package receipt.
2 PACKAGE="getmail"
3 VERSION="4.41.0"
4 CATEGORY="network"
5 SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail."
6 MAINTAINER="claudinei@slitaz.org"
7 LICENSE="GPL2"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pyropus.ca/software/getmail"
10 WGET_URL="$WEB_SITE/old-versions/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 python setup.py build
19 python setup.py install --root=$DESTDIR || return 1
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 cp -a $install/usr/share/doc $fs/usr/share
29 }