wok view getmail/receipt @ rev 9821
ruby: when a space can change a build...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 02:34:55 2011 +0200 (2011-05-15) |
parents | |
children | e63b4c31de96 |
line source
1 # SliTaz package receipt.
2 PACKAGE="getmail"
3 VERSION="4.20.0"
4 CATEGORY="network"
5 SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail."
6 MAINTAINER="claudinei@slitaz.org"
7 DEPENDS="python"
8 BUILD_DEPENDS="python python-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pyropus.ca/software/getmail"
11 WGET_URL="$WEB_SITE/old-versions/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 python setup.py build
18 python setup.py install --root=$DESTDIR || return 1
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 cp -a $_pkg/usr/share/doc $fs/usr/share
28 }