wok annotate getmail/receipt @ rev 17224
Up tazwikiss yaff tazdev tazchroot slitaz-mercurial-style qemu-box mirror-tools (2.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 15:56:22 2014 +0200 (2014-10-15) |
parents | 924647aeae82 |
children | 16df76e1fc6a |
rev | line source |
---|---|
claudinei@9163 | 1 # SliTaz package receipt. |
claudinei@9163 | 2 PACKAGE="getmail" |
claudinei@14861 | 3 VERSION="4.41.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" |
pascal@15215 | 7 LICENSE="GPL2" |
claudinei@9163 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@9163 | 9 WEB_SITE="http://pyropus.ca/software/getmail" |
claudinei@9163 | 10 WGET_URL="$WEB_SITE/old-versions/$TARBALL" |
claudinei@9163 | 11 |
pascal@15215 | 12 DEPENDS="python" |
pascal@15215 | 13 BUILD_DEPENDS="python python-dev" |
pascal@15215 | 14 |
claudinei@9163 | 15 # Rules to configure and make the package. |
claudinei@9163 | 16 compile_rules() |
claudinei@9163 | 17 { |
claudinei@9163 | 18 cd $src |
claudinei@9163 | 19 python setup.py build |
claudinei@9163 | 20 python setup.py install --root=$DESTDIR || return 1 |
claudinei@9163 | 21 } |
claudinei@9163 | 22 |
claudinei@9163 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@9163 | 24 genpkg_rules() |
claudinei@9163 | 25 { |
claudinei@9163 | 26 mkdir -p $fs/usr/share |
slaxemulator@13070 | 27 cp -a $install/usr/bin $fs/usr |
slaxemulator@13070 | 28 cp -a $install/usr/lib $fs/usr |
slaxemulator@13070 | 29 cp -a $install/usr/share/doc $fs/usr/share |
claudinei@9163 | 30 } |