wok-6.x annotate libxml2-python/receipt @ rev 7462
Up: gst-plugins-base to 0.10.31.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 30 20:57:50 2010 +0000 (2010-11-30) |
parents | a714cd6d9d90 |
children | 27727d07d680 |
rev | line source |
---|---|
pascal@1233 | 1 # SliTaz package receipt. |
pascal@1233 | 2 |
pascal@1233 | 3 PACKAGE="libxml2-python" |
pankso@4361 | 4 VERSION="2.6.15" |
pascal@1233 | 5 CATEGORY="development" |
pascal@1233 | 6 SHORT_DESC="Libxml2 adapter for the Python." |
pascal@1233 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1233 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1233 | 9 WEB_SITE="http://xmlsoft.org/" |
pascal@1233 | 10 WGET_URL="ftp://xmlsoft.org/libxml2/python/$TARBALL" |
pascal@2475 | 11 DEPENDS="python libxml2 libxslt" |
pascal@1511 | 12 BUILD_DEPENDS="python python-dev libxml2-dev" |
pascal@1233 | 13 |
pascal@1233 | 14 # Rules to configure and make the package. |
pascal@1233 | 15 compile_rules() |
pascal@1233 | 16 { |
pascal@1233 | 17 cd $src |
pascal@1511 | 18 python setup.py build && |
pascal@1233 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1233 | 20 } |
pascal@1233 | 21 |
pascal@1233 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1233 | 23 genpkg_rules() |
pascal@1233 | 24 { |
pascal@1233 | 25 cp -a $_pkg/usr $fs |
pascal@1233 | 26 } |
pascal@1233 | 27 |