wok-6.x annotate beautifulsoup/receipt @ rev 12942
libxcb: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 30 17:31:03 2012 +0200 (2012-05-30) |
parents | d716f22ec2df |
children | 105056b6bc58 |
rev | line source |
---|---|
paul@1378 | 1 # SliTaz package receipt. |
paul@1378 | 2 |
paul@1378 | 3 PACKAGE="beautifulsoup" |
slaxemulator@7645 | 4 VERSION="3.2.0" |
paul@1378 | 5 CATEGORY="development" |
paul@1378 | 6 SHORT_DESC="Python HTML-XML parser." |
paul@1378 | 7 MAINTAINER="paul@slitaz.org" |
paul@1378 | 8 DEPENDS="python" |
paul@1378 | 9 BUILD_DEPENDS="python-dev" |
paul@1378 | 10 SOURCE="BeautifulSoup" |
pascal@5788 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@1378 | 12 WEB_SITE="http://www.crummy.com/software/BeautifulSoup/" |
slaxemulator@7645 | 13 WGET_URL="http://www.crummy.com/software/BeautifulSoup/download/3.x/$TARBALL" |
jozee@3567 | 14 TAGS="parser XML HTML" |
paul@1378 | 15 |
paul@1378 | 16 # Rules to configure and make the package. |
paul@1378 | 17 compile_rules() |
paul@1378 | 18 { |
paul@1378 | 19 cd $src |
paul@1378 | 20 python setup.py build |
paul@1378 | 21 python setup.py install --root=$PWD/_pkg |
paul@1378 | 22 } |
paul@1378 | 23 |
paul@1378 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1378 | 25 genpkg_rules() |
paul@1378 | 26 { |
paul@1378 | 27 cp -a $_pkg/usr $fs |
paul@1378 | 28 } |