wok-4.x annotate python-pypdf/receipt @ rev 3384
Ren: pypdf -> python-pypdf
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 23:07:48 2009 +0000 (2009-06-11) |
parents | |
children | ad73f7efcc3d |
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" |
claudinei@3384 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3384 | 10 WEB_SITE="http://pybrary.net/pyPdf" |
claudinei@3384 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@3384 | 12 DEPENDS="python" |
claudinei@3384 | 13 BUILD_DEPENDS="python python-dev" |
claudinei@3384 | 14 |
claudinei@3384 | 15 # Rules to configure and make the package. |
claudinei@3384 | 16 compile_rules() |
claudinei@3384 | 17 { |
claudinei@3384 | 18 cd $src |
claudinei@3384 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3384 | 20 } |
claudinei@3384 | 21 |
claudinei@3384 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3384 | 23 genpkg_rules() |
claudinei@3384 | 24 { |
claudinei@3384 | 25 mkdir -p $fs/usr |
claudinei@3384 | 26 cp -a $_pkg/usr $fs |
claudinei@3384 | 27 } |
claudinei@3384 | 28 |