wok-next diff perl-sgmlspm/receipt @ rev 20688
OpenSSL upgrade: 1.1.0g [2 Nov 2017] -> 1.1.0h [27 Mar 2018]
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:13:18 2018 +0000 (2018-05-21) |
parents | b938e6730252 |
children | 44d2daaccb67 |
line diff
1.1 --- a/perl-sgmlspm/receipt Thu Jun 22 20:59:17 2017 +0300 1.2 +++ b/perl-sgmlspm/receipt Mon May 21 19:13:18 2018 +0000 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="perl-sgmlspm" 1.8 VERSION="1.1" 1.9 @@ -12,23 +12,19 @@ 1.10 TARBALL="SGMLSpm-$VERSION.tar.gz" 1.11 WGET_URL="http://anduin.linuxfromscratch.org/BLFS/perl-modules/$TARBALL" 1.12 1.13 -DEPENDS="perl" 1.14 BUILD_DEPENDS="perl" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 chmod 644 MYMETA.yml 1.21 1.22 perl Makefile.PL && 1.23 - make && make DESTDIR=$install install && 1.24 + make && make DESTDIR=$install install || return 1 1.25 1.26 ln -sv sgmlspl.pl $install/usr/bin/sgmlspl 1.27 chmod -R u+w $install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 +genpkg_rules() { 1.34 copy @std 1.35 + DEPENDS="perl" 1.36 }