wok-next annotate getmail/receipt @ rev 9543
blender: fix BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 13:01:20 2011 +0200 (2011-04-09) |
parents | |
children | e63b4c31de96 |
rev | line source |
---|---|
claudinei@9163 | 1 # SliTaz package receipt. |
claudinei@9163 | 2 PACKAGE="getmail" |
claudinei@9163 | 3 VERSION="4.20.0" |
claudinei@9163 | 4 CATEGORY="network" |
claudinei@9163 | 5 SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail." |
claudinei@9163 | 6 MAINTAINER="claudinei@slitaz.org" |
claudinei@9163 | 7 DEPENDS="python" |
claudinei@9163 | 8 BUILD_DEPENDS="python python-dev" |
claudinei@9163 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@9163 | 10 WEB_SITE="http://pyropus.ca/software/getmail" |
claudinei@9163 | 11 WGET_URL="$WEB_SITE/old-versions/$TARBALL" |
claudinei@9163 | 12 |
claudinei@9163 | 13 # Rules to configure and make the package. |
claudinei@9163 | 14 compile_rules() |
claudinei@9163 | 15 { |
claudinei@9163 | 16 cd $src |
claudinei@9163 | 17 python setup.py build |
claudinei@9163 | 18 python setup.py install --root=$DESTDIR || return 1 |
claudinei@9163 | 19 } |
claudinei@9163 | 20 |
claudinei@9163 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@9163 | 22 genpkg_rules() |
claudinei@9163 | 23 { |
claudinei@9163 | 24 mkdir -p $fs/usr/share |
claudinei@9163 | 25 cp -a $_pkg/usr/bin $fs/usr |
claudinei@9163 | 26 cp -a $_pkg/usr/lib $fs/usr |
claudinei@9163 | 27 cp -a $_pkg/usr/share/doc $fs/usr/share |
claudinei@9163 | 28 } |