# HG changeset patch # User Christopher Rogers # Date 1305930025 0 # Node ID 025204a91f7b1cf33842a5f957c5e602f4117870 # Parent a0cd72819bb9e44dee290820412d4671ae77ba39 Add perl-text-glob. diff -r a0cd72819bb9 -r 025204a91f7b perl-text-glob/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-text-glob/receipt Fri May 20 22:20:25 2011 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-text-glob" +VERSION="0.08" +CATEGORY="development" +SHORT_DESC="Match globbing patterns against text." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Text-Glob" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/~RCLAMP/Text-Glob" +WGET_URL="http://www.cpan.org/authors/id/R/RC/RCLAMP/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make install DESTDIR="$DESTDIR" +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +