wok annotate urlgrabber/receipt @ rev 17715
aspell, libstatgrab, reiser4progs: add -ltinfo in LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 08:50:37 2015 +0100 (2015-03-05) |
parents | 416fae966500 |
children | 7390f8de9846 |
rev | line source |
---|---|
slaxemulator@7916 | 1 # SliTaz package receipt. |
slaxemulator@7916 | 2 |
slaxemulator@7916 | 3 PACKAGE="urlgrabber" |
slaxemulator@7916 | 4 VERSION="3.9.1" |
slaxemulator@7916 | 5 CATEGORY="development" |
slaxemulator@7916 | 6 SHORT_DESC="A high-level cross-protocol url-grabber and Python library." |
slaxemulator@7916 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15352 | 8 LICENSE="LGPL2.1" |
slaxemulator@7916 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7916 | 10 WEB_SITE="http://urlgrabber.baseurl.org/" |
slaxemulator@7916 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
slaxemulator@7916 | 12 |
pascal@15352 | 13 DEPENDS="python pycurl" |
pascal@15352 | 14 BUILD_DEPENDS="python-dev pycurl" |
pascal@15352 | 15 |
slaxemulator@7916 | 16 # Rules to configure and make the package. |
slaxemulator@7916 | 17 compile_rules() |
slaxemulator@7916 | 18 { |
slaxemulator@7916 | 19 cd $src |
pascal@15352 | 20 python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 |
slaxemulator@7916 | 21 } |
slaxemulator@7916 | 22 |
slaxemulator@7916 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7916 | 24 genpkg_rules() |
slaxemulator@7916 | 25 { |
slaxemulator@7916 | 26 mkdir -p $fs/usr |
pascal@15352 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15352 | 28 cp -a $install/usr/lib $fs/usr |
slaxemulator@7916 | 29 } |
slaxemulator@7916 | 30 |