# HG changeset patch # User Nathan Neulinger # Date 1427219143 0 # Node ID ccf05f4f5e5810ed7c30d09bff00472cb6c7ce46 # Parent b295d522518cb005673ea12dd38d29314afa4a77 Add: perl-appconfig - AppConfig diff -r b295d522518c -r ccf05f4f5e58 perl-appconfig/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-appconfig/receipt Tue Mar 24 17:45:43 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 + + +} +