wok-next annotate getmail/receipt @ rev 18236
Up: tazpkg(819): re-write "desc" function
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 24 15:13:34 2015 +0300 (2015-07-24) |
parents | 7bb096863642 |
children | 29ae397b760a |
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 python setup.py build |
claudinei@9163 | 19 python setup.py install --root=$DESTDIR || return 1 |
claudinei@9163 | 20 } |
claudinei@9163 | 21 |
claudinei@9163 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@9163 | 23 genpkg_rules() |
claudinei@9163 | 24 { |
claudinei@9163 | 25 mkdir -p $fs/usr/share |
slaxemulator@13070 | 26 cp -a $install/usr/bin $fs/usr |
slaxemulator@13070 | 27 cp -a $install/usr/lib $fs/usr |
slaxemulator@13070 | 28 cp -a $install/usr/share/doc $fs/usr/share |
claudinei@9163 | 29 } |