# HG changeset patch # User Christopher Rogers # Date 1300374344 0 # Node ID e4657f48e3e9cfb97d294253b5f25d78f938eb39 # Parent 31799d66de3dd7eb87a3c9dde9b29d29eb0b6079 Add perl-yaml-syck. diff -r 31799d66de3d -r e4657f48e3e9 perl-yaml-syck/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-yaml-syck/receipt Thu Mar 17 15:05:44 2011 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-yaml-syck" +VERSION="1.17" +CATEGORY="development" +SHORT_DESC="Fast, lightweight YAML loader and dumper" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="YAML-Syck" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/disk/YAML-Syck/" +WGET_URL="http://www.cpan.org/authors/id/A/AV/AVAR/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL -y && + 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 +} +