wok-next diff perl-http-server-simple/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents 4e6503d7a19f
children f17e1f86f546
line diff
     1.1 --- a/perl-http-server-simple/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-http-server-simple/receipt	Mon Dec 03 14:47:30 2018 +0200
     1.3 @@ -12,20 +12,17 @@
     1.4  TARBALL="HTTP-Server-Simple-$VERSION.tar.gz"
     1.5  WGET_URL="https://cpan.metacpan.org/authors/id/B/BP/BPS/$TARBALL"
     1.6  
     1.7 -DEPENDS="perl-cgi"
     1.8 -BUILD_DEPENDS="$DEPENDS"
     1.9 +BUILD_DEPENDS="perl-cgi"
    1.10  
    1.11 -# Rules to configure and make the package.
    1.12 -compile_rules()
    1.13 -{
    1.14 +compile_rules() {
    1.15  	perl Makefile.PL &&
    1.16 -	make && make DESTDIR=$install install &&
    1.17 +	make &&
    1.18 +	make DESTDIR=$install install &&
    1.19  
    1.20  	chmod -R u+w $install
    1.21  }
    1.22  
    1.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 -genpkg_rules()
    1.25 -{
    1.26 +genpkg_rules() {
    1.27  	copy @std
    1.28 +	DEPENDS="perl-cgi"
    1.29  }