wok annotate getmail/receipt @ rev 12408

karmen: better integration and use XDG standard
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 20 18:05:26 2012 +0200 (2012-04-20)
parents 8c782f58bfc3
children 9c3c9c680b90
rev   line source
claudinei@9163 1 # SliTaz package receipt.
claudinei@9163 2 PACKAGE="getmail"
slaxemulator@12346 3 VERSION="4.26.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 }