wok-next diff pycurl/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 16df76e1fc6a |
children | d5aab818505e |
line diff
1.1 --- a/pycurl/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/pycurl/receipt Tue Oct 16 16:46:05 2018 +0300 1.3 @@ -1,27 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="pycurl" 1.8 VERSION="7.19.0" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="A Python interface to libcurl." 1.11 +SHORT_DESC="A Python interface to libcurl" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="http://pycurl.sourceforge.net" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://pycurl.sourceforge.net" 1.18 WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL" 1.19 1.20 -DEPENDS="python libcurl" 1.21 BUILD_DEPENDS="openssl-dev curl-dev python-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - python setup.py install --curl-config=/usr/bin/curl-config --prefix $DESTDIR/usr 1.27 +compile_rules() { 1.28 + python setup.py install \ 1.29 + --curl-config=/usr/bin/curl-config \ 1.30 + --prefix $DESTDIR/usr 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir -p $fs/usr 1.37 - cp -a $install/usr/lib $fs/usr 1.38 +genpkg_rules() { 1.39 + copy @std 1.40 + DEPENDS="python libcurl" 1.41 }