wok-next diff perl-http-daemon/receipt @ rev 20712
libtorrent: fix rtorrent building for non-64bit archs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:13:53 2018 +0300 (2018-05-27) |
parents | 1a86cb99cbbf |
children | 4e6503d7a19f |
line diff
1.1 --- a/perl-http-daemon/receipt Thu May 11 02:23:02 2017 +0300 1.2 +++ b/perl-http-daemon/receipt Sun May 27 12:13:53 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="perl-http-daemon" 1.8 VERSION="6.01" 1.9 @@ -11,20 +11,16 @@ 1.10 TARBALL="HTTP-Daemon-$VERSION.tar.gz" 1.11 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL" 1.12 1.13 -DEPENDS="perl-http-date perl-http-message perl-lwp-mediatypes" 1.14 -BUILD_DEPENDS="$DEPENDS" 1.15 +BUILD_DEPENDS="perl-http-date perl-http-message perl-lwp-mediatypes" 1.16 1.17 -# Rules to configure and make the package. 1.18 -compile_rules() 1.19 -{ 1.20 +compile_rules() { 1.21 perl Makefile.PL && 1.22 make && make DESTDIR=$install install && 1.23 1.24 chmod -R u+w $install 1.25 } 1.26 1.27 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 -genpkg_rules() 1.29 -{ 1.30 +genpkg_rules() { 1.31 copy @std 1.32 + DEPENDS="$BUILD_DEPENDS" 1.33 }