wok-next annotate beautifulsoup/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | 107673bb7392 |
children | 9b3461bf373c |
rev | line source |
---|---|
paul@1378 | 1 # SliTaz package receipt. |
paul@1378 | 2 |
paul@1378 | 3 PACKAGE="beautifulsoup" |
paul@19359 | 4 VERSION="4.5.0" |
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/" |
pascal@17869 | 12 WGET_URL="${WEB_SITE}bs4/download/${VERSION%.*}/$TARBALL" |
pascal@19029 | 13 PROVIDES="python-beautifulsoup" |
jozee@3567 | 14 TAGS="parser XML HTML" |
paul@1378 | 15 |
pascal@15202 | 16 DEPENDS="python" |
al@20444 | 17 BUILD_DEPENDS="python-dev" |
pascal@15202 | 18 |
paul@1378 | 19 # Rules to configure and make the package. |
paul@1378 | 20 compile_rules() |
paul@1378 | 21 { |
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 } |