wok-next annotate getmail/receipt @ rev 13892
cookutils: get tarball from hg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 22:23:35 2013 +0100 (2013-01-17) |
parents | ebbdf9efbfdf |
children | 924647aeae82 |
rev | line source |
---|---|
claudinei@9163 | 1 # SliTaz package receipt. |
claudinei@9163 | 2 PACKAGE="getmail" |
slaxemulator@13070 | 3 VERSION="4.30.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 |
slaxemulator@13070 | 25 cp -a $install/usr/bin $fs/usr |
slaxemulator@13070 | 26 cp -a $install/usr/lib $fs/usr |
slaxemulator@13070 | 27 cp -a $install/usr/share/doc $fs/usr/share |
claudinei@9163 | 28 } |