# HG changeset patch # User Pascal Bellard # Date 1226152374 0 # Node ID c58c6348d297f3307116c5f643ca4216d6919f27 # Parent f1273699298d38eddc6b11dc5c2211e7c6875b8f Add perl-convert-asn1 diff -r f1273699298d -r c58c6348d297 perl-convert-asn1/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-convert-asn1/receipt Sat Nov 08 13:52:54 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-convert-asn1" +VERSION="0.22" +CATEGORY="development" +SHORT_DESC="Convert::ASN1 module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Convert-ASN1" +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/G/GB/GBARR/$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 +} +