wok-current view python-pypdf/receipt @ rev 6346

Up: gobby to 0.4.12. net6, net6-dev to 1.3.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 22:01:57 2010 +0000 (2010-09-19)
parents 4ef02fcb1f59
children 2a5cc8208d36
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pypdf"
4 SOURCE="pyPdf"
5 VERSION="1.12"
6 CATEGORY="development"
7 SHORT_DESC="A Pure-Python library built as a PDF tookit."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pybrary.net/pyPdf"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/pypdf
33 }