wok-6.x annotate python-pypdf/receipt @ rev 15379
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 20 22:08:25 2013 +0000 (2013-10-20) |
parents | ad73f7efcc3d |
children | 7390f8de9846 |
rev | line source |
---|---|
claudinei@3384 | 1 # SliTaz package receipt. |
claudinei@3384 | 2 |
claudinei@3384 | 3 PACKAGE="python-pypdf" |
claudinei@3384 | 4 SOURCE="pyPdf" |
claudinei@3384 | 5 VERSION="1.12" |
claudinei@3384 | 6 CATEGORY="development" |
claudinei@3384 | 7 SHORT_DESC="A Pure-Python library built as a PDF tookit." |
claudinei@3384 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 9 LICENSE="BSD" |
claudinei@3384 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3384 | 11 WEB_SITE="http://pybrary.net/pyPdf" |
claudinei@3384 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@3384 | 13 DEPENDS="python" |
claudinei@3384 | 14 BUILD_DEPENDS="python python-dev" |
claudinei@3384 | 15 |
claudinei@3384 | 16 # Rules to configure and make the package. |
claudinei@3384 | 17 compile_rules() |
claudinei@3384 | 18 { |
claudinei@3384 | 19 cd $src |
pascal@15379 | 20 python setup.py install --root=$DESTDIR |
claudinei@3384 | 21 } |
claudinei@3384 | 22 |
claudinei@3384 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3384 | 24 genpkg_rules() |
claudinei@3384 | 25 { |
claudinei@3384 | 26 mkdir -p $fs/usr |
pascal@15379 | 27 cp -a $install/usr $fs |
claudinei@3384 | 28 } |
claudinei@3384 | 29 |
claudinei@3404 | 30 # Remove old package. |
claudinei@3404 | 31 post_install() |
claudinei@3404 | 32 { |
claudinei@3404 | 33 rm -rf $1/var/lib/tazpkg/installed/pypdf |
claudinei@3404 | 34 } |