# HG changeset patch # User Christopher Rogers # Date 1290880879 0 # Node ID bd18cd8fd30697f3879c79f97e00992f695a159e # Parent 2cb43f0174fb798073c0dfb93dfb00a9863e7b04 Add perl-yaml. diff -r 2cb43f0174fb -r bd18cd8fd306 perl-yaml/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-yaml/receipt Sat Nov 27 18:01:19 2010 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="perl-yaml" +VERSION="0.71" +CATEGORY="development" +SHORT_DESC="Perl/CPAN Module YAML : YAML Aint Markup Language tm" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="YAML" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/YAML/" +WGET_URL="http://www.cpan.org/authors/id/A/AD/ADAMK/$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 + # remove perllocal.pod and .packlist + find ${fs} -name perllocal.pod -delete + find ${fs} -name .packlist -delete + + +} +