You are not logged in.
If this isn't the proper way to submit, please let me know. I have several more that I will be submitting.
Offline
Here's the patch
Offline
[c]diff -r 7d5789c51e7e perl-appconfig/receipt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/perl-appconfig/receipt Tue Mar 24 13:47:42 2015 +0000
@@ -0,0 +1,36 @@
+# SliTaz package receipt.
+
+PACKAGE="perl-appconfig"
+VERSION="1.71"
+CATEGORY="development"
+SHORT_DESC="Perl/CPAN Module AppConfig"
+MAINTAINER="nneul@neulinger.org"
+LICENSE="Artistic"
+DEPENDS="perl"
+BUILD_DEPENDS="perl"
+SOURCE="AppConfig"
+TARBALL="$SOURCE-$VERSION.tar.gz"
+WEB_SITE="http://search.cpan.org/dist/AppConfig/"
+WGET_URL="http://www.cpan.org/authors/id/N/NE/NEILB/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+ cd $src
+ 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
+ # remove perllocal.pod and .packlist
+ find ${fs} -name perllocal.pod -delete
+ find ${fs} -name .packlist -delete
+
+
+}
+
diff -r 7d5789c51e7e perl-template-toolkit/receipt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/perl-template-toolkit/receipt Tue Mar 24 13:47:42 2015 +0000
@@ -0,0 +1,36 @@
+# SliTaz package receipt.
+
+PACKAGE="perl-template-toolkit"
+VERSION="2.26"
+CATEGORY="development"
+SHORT_DESC="Perl/CPAN Module Template Toolkit"
+MAINTAINER="nneul@neulinger.org"
+LICENSE="Artistic"
+DEPENDS="perl perl-appconfig"
+BUILD_DEPENDS="perl-appconfig"
+SOURCE="Template-Toolkit"
+TARBALL="$SOURCE-$VERSION.tar.gz"
+WEB_SITE="http://search.cpan.org/dist/Template-Toolkit/"
+WGET_URL="http://www.cpan.org/authors/id/A/AB/ABW/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+ cd $src
+ perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n &&
+ 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
+ # remove perllocal.pod and .packlist
+ find ${fs} -name perllocal.pod -delete
+ find ${fs} -name .packlist -delete
+
+
+}
+[/c]
Offline
Additional patch for perl-json package:
[c]diff -r 7d5789c51e7e perl-json/receipt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/perl-json/receipt Tue Mar 24 14:41:09 2015 +0000
@@ -0,0 +1,36 @@
+# SliTaz package receipt.
+
+PACKAGE="perl-json"
+VERSION="2.90"
+CATEGORY="development"
+SHORT_DESC="Perl/CPAN Module JSON"
+MAINTAINER="nneul@neulinger.org"
+LICENSE="Artistic"
+DEPENDS="perl"
+BUILD_DEPENDS="perl"
+SOURCE="JSON"
+TARBALL="$SOURCE-$VERSION.tar.gz"
+WEB_SITE="http://search.cpan.org/dist/JSON/"
+WGET_URL="http://www.cpan.org/authors/id/M/MA/MAKAMAKA/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+ cd $src
+ 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
+ # remove perllocal.pod and .packlist
+ find ${fs} -name perllocal.pod -delete
+ find ${fs} -name .packlist -delete
+
+
+}
+[/c]
Offline
Please send a email to pascal.bellard@slitaz.org with a username and a password to create your mercurial access.
http://doc.slitaz.org/fr:cookbook:devcorner
Offline
[ Generated in 0.016 seconds, 12 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]