wok-current annotate beautifulsoup/receipt @ rev 15875
Add spl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 03 11:55:38 2014 +0000 (2014-02-03) |
parents | 223b265f40fd |
children | d3eb5f4b53ea |
rev | line source |
---|---|
paul@1378 | 1 # SliTaz package receipt. |
paul@1378 | 2 |
paul@1378 | 3 PACKAGE="beautifulsoup" |
paul@15484 | 4 VERSION="4.3.2" |
paul@1378 | 5 CATEGORY="development" |
paul@1378 | 6 SHORT_DESC="Python HTML-XML parser." |
paul@1378 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15202 | 8 LICENSE="MIT" |
paul@13540 | 9 SOURCE="beautifulsoup4" |
pascal@5788 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@1378 | 11 WEB_SITE="http://www.crummy.com/software/BeautifulSoup/" |
paul@15484 | 12 WGET_URL="http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/$TARBALL" |
jozee@3567 | 13 TAGS="parser XML HTML" |
paul@1378 | 14 |
pascal@15202 | 15 DEPENDS="python" |
pascal@15202 | 16 BUILD_DEPENDS="python-dev" |
pascal@15202 | 17 |
paul@1378 | 18 # Rules to configure and make the package. |
paul@1378 | 19 compile_rules() |
paul@1378 | 20 { |
paul@1378 | 21 cd $src |
paul@1378 | 22 python setup.py build |
paul@13540 | 23 python setup.py install --root=$DESTDIR |
paul@1378 | 24 } |
paul@1378 | 25 |
paul@1378 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1378 | 27 genpkg_rules() |
paul@1378 | 28 { |
paul@13540 | 29 mkdir $fs |
paul@13540 | 30 cp -a $install/usr $fs |
paul@1378 | 31 } |