# HG changeset patch # User Pascal Bellard # Date 1539272757 -7200 # Node ID 1e4880cfe3095bfb48d5c188d44016ed5b6537d1 # Parent 783d6baff05e945a3926417159cacca98e373693 Add perl-universal-require & perl-file-which (thanks neoclust3) diff -r 783d6baff05e -r 1e4880cfe309 fusioninventory-agent/receipt --- a/fusioninventory-agent/receipt Thu Oct 11 13:32:26 2018 +0200 +++ b/fusioninventory-agent/receipt Thu Oct 11 17:45:57 2018 +0200 @@ -10,9 +10,9 @@ WEB_SITE="http://fusioninventory.org/" WGET_URL="https://github.com/fusioninventory/$PACKAGE/releases/download/$VERSION/$TARBALL" -DEPENDS="perl-http-server-simple perl-io-socket-ssl perl-ipc-run \ +DEPENDS="perl-file-which perl-http-server-simple perl-io-socket-ssl perl-ipc-run \ perl-net-ip perl-net-snmp perl-test-deep perl-test-exception \ -perl-test-nowarnings perl-text-template" +perl-test-nowarnings perl-text-template perl-universal-require" BUILD_DEPENDS="$DEPENDS" # Rules to configure and make the package. diff -r 783d6baff05e -r 1e4880cfe309 perl-file-which/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-which/receipt Thu Oct 11 17:45:57 2018 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="perl-file-which" +VERSION="1.22" +CATEGORY="development" +SHORT_DESC="File::Which module is a Perl extension" +MAINTAINER="devel@slitaz.org" +LICENSE="GPL" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="File-Which" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + perl Makefile.PL + make + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr/lib $fs/usr +} diff -r 783d6baff05e -r 1e4880cfe309 perl-universal-require/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-universal-require/receipt Thu Oct 11 17:45:57 2018 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="perl-universal-require" +VERSION="0.18" +CATEGORY="development" +SHORT_DESC="UNIVERSAL::require module is a Perl extension" +MAINTAINER="devel@slitaz.org" +LICENSE="GPL" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="UNIVERSAL-require" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +}