wok-6.x view beautifulsoup/receipt @ rev 17869

Use VERSION variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 09:34:19 2015 +0100 (2015-03-26)
parents 9a64a856eee1
children d49d380e5ec7
line source
1 # SliTaz package receipt.
3 PACKAGE="beautifulsoup"
4 VERSION="4.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Python HTML-XML parser."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="beautifulsoup4"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.crummy.com/software/BeautifulSoup/"
12 WGET_URL="${WEB_SITE}bs4/download/${VERSION%.*}/$TARBALL"
13 TAGS="parser XML HTML"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir $fs
29 cp -a $install/usr $fs
30 }