wok rev 20417

Add perl-html-template & perl-log-log4perl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 04 13:11:27 2018 +0200 (2018-08-04)
parents 24d5b43beece
children 543e0fa614bc
files lynis/receipt perl-html-template/receipt perl-log-log4perl/receipt
line diff
     1.1 --- a/lynis/receipt	Thu Aug 02 22:31:30 2018 +0200
     1.2 +++ b/lynis/receipt	Sat Aug 04 13:11:27 2018 +0200
     1.3 @@ -12,7 +12,7 @@
     1.4  
     1.5  DEPENDS=""
     1.6  BUILD_DEPENDS=""
     1.7 -SUGGESTED="wget procps perl findutils rpm4"
     1.8 +SUGGESTED="wget procps perl findutils grep rpm4 groff"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11  genpkg_rules()
    1.12 @@ -25,6 +25,11 @@
    1.13  	sed -i "s!| grep \"\\^GNU Wget\" | awk '{ print \$3 !\
    1.14  2>\\&1 | awk '/^GNU Wget/{ print $3 }/^BusyBox/{ print \$1 \"/\" substr(\$2,2)!\
    1.15  " $fs/usr/share/lynis/include/binaries
    1.16 +	sed -i '/Generic/a\
    1.17 +	    [ -s /etc/slitaz-release ] && LINUX_VERSION="SliTaz GNU/Linux" &&\
    1.18 +		OS_VERSION="$(cat /etc/slitaz-release)" &&\
    1.19 +		OS_FULLNAME="$LINUX_VERSION $OS_VERSION"' \
    1.20 +			$fs/usr/share/lynis/include/osdetection
    1.21  	cat > $fs/usr/sbin/lynis <<EOT
    1.22  #!/bin/sh
    1.23  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-html-template/receipt	Sat Aug 04 13:11:27 2018 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="perl-html-template"
     2.7 +VERSION="2.97"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="HTML::Template module is a Perl extension."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL"
    2.12 +DEPENDS="perl"
    2.13 +BUILD_DEPENDS="perl"
    2.14 +SOURCE="HTML-Template"
    2.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.16 +WEB_SITE="https://metacpan.org/pod/HTML::Template"
    2.17 +WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$TARBALL"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	perl Makefile.PL &&
    2.23 +	make &&
    2.24 +	make DESTDIR=$DESTDIR install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr
    2.31 +	cp -a $install/usr/lib $fs/usr
    2.32 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/perl-log-log4perl/receipt	Sat Aug 04 13:11:27 2018 +0200
     3.3 @@ -0,0 +1,28 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="perl-log-log4perl"
     3.7 +VERSION="1.49"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC=" Log::Log4perl module is a Perl extension."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="Perl"
    3.12 +DEPENDS="perl"
    3.13 +BUILD_DEPENDS="perl"
    3.14 +SOURCE="Log-Log4perl"
    3.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    3.16 +WEB_SITE="https://metacpan.org/pod/Log::Log4perl"
    3.17 +WGET_URL="https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/$TARBALL"
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	perl Makefile.PL &&
    3.23 +	make &&
    3.24 +	make DESTDIR=$DESTDIR install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	cp -a $install/usr $fs/
    3.31 +}