wok annotate beautifulsoup/receipt @ rev 1455
atl2 kqemu madwifi mISDN ndiswrapper squashfs-module zaptel: fix depmod in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 16:09:39 2008 +0000 (2008-10-03) |
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 |