wok view python-pypdf/receipt @ rev 16522

Add raspberrypi-vc, raspberrypi-boot, raspberrypi-boot-x (full PiCam support and track bootloader file for easy update)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 02:04:47 2014 +0200 (2014-04-26)
parents ad73f7efcc3d
children 7390f8de9846
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 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pybrary.net/pyPdf"
12 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/pypdf
34 }