# HG changeset patch # User Pascal Bellard # Date 1226152623 0 # Node ID 38ff15d52fe47546615be9ea9254aed68afc0372 # Parent 090a5fdd4cf85ae474b827013d6f436bf002456d Add perl-io-scalar diff -r 090a5fdd4cf8 -r 38ff15d52fe4 perl-io-scalar/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-io-scalar/receipt Sat Nov 08 13:57:03 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-io-scalar" +VERSION="2.110" +CATEGORY="development" +SHORT_DESC="IO::Scalar module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="IO-stringy" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" +WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/$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 +} +