# 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 }