# HG changeset patch # User Pascal Bellard # Date 1243690493 -7200 # Node ID f51b3f46208a82b4ef67071330846d2268a9158a # Parent 9a5054d0078e7da77e3ccf1f4392bcd259dc8fc4 Add perl-config-inifiles diff -r 9a5054d0078e -r f51b3f46208a perl-config-inifiles/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-config-inifiles/receipt Sat May 30 15:34:53 2009 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-config-inifiles" +VERSION="2.49" +CATEGORY="development" +SHORT_DESC="Config::IniFiles module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Config-IniFiles" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://cpan.org/authors/id/S/SH/SHLOMIF/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +