wok-next annotate beautifulsoup/receipt @ rev 1378
Add: beautifulsoup (Python html parser)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Sep 11 15:24:38 2008 +0000 (2008-09-11) |
parents | |
children | 864f81193c82 |
rev | line source |
---|---|
paul@1378 | 1 # SliTaz package receipt. |
paul@1378 | 2 |
paul@1378 | 3 PACKAGE="beautifulsoup" |
paul@1378 | 4 VERSION="3.0.7a" |
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" |
paul@1378 | 11 TARBALL="$SOURCE.tar.gz" |
paul@1378 | 12 WEB_SITE="http://www.crummy.com/software/BeautifulSoup/" |
paul@1378 | 13 WGET_URL="http://www.crummy.com/software/BeautifulSoup/download/$TARBALL" |
paul@1378 | 14 |
paul@1378 | 15 # Rules to configure and make the package. |
paul@1378 | 16 compile_rules() |
paul@1378 | 17 { |
paul@1378 | 18 cd $src |
paul@1378 | 19 python setup.py build |
paul@1378 | 20 python setup.py install --root=$PWD/_pkg |
paul@1378 | 21 } |
paul@1378 | 22 |
paul@1378 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1378 | 24 genpkg_rules() |
paul@1378 | 25 { |
paul@1378 | 26 cp -a $_pkg/usr $fs |
paul@1378 | 27 } |
paul@1378 | 28 |