wok-stable annotate perl-convert-asn1/receipt @ rev 9284
perl-net-ftp: unblock compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 10:03:27 2011 +0100 (2011-03-16) |
parents | c58c6348d297 |
children |
rev | line source |
---|---|
pascal@1664 | 1 # SliTaz package receipt. |
pascal@1664 | 2 |
pascal@1664 | 3 PACKAGE="perl-convert-asn1" |
pascal@1664 | 4 VERSION="0.22" |
pascal@1664 | 5 CATEGORY="development" |
pascal@1664 | 6 SHORT_DESC="Convert::ASN1 module is a Perl extension." |
pascal@1664 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1664 | 8 DEPENDS="perl" |
pascal@1664 | 9 BUILD_DEPENDS="perl" |
pascal@1664 | 10 SOURCE="Convert-ASN1" |
pascal@1664 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 12 WEB_SITE="http://cpan.org/" |
pascal@1664 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$TARBALL" |
pascal@1664 | 14 |
pascal@1664 | 15 # Rules to configure and make the package. |
pascal@1664 | 16 compile_rules() |
pascal@1664 | 17 { |
pascal@1664 | 18 cd $src |
pascal@1664 | 19 perl Makefile.PL && |
pascal@1664 | 20 make && |
pascal@1664 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1664 | 22 } |
pascal@1664 | 23 |
pascal@1664 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1664 | 25 genpkg_rules() |
pascal@1664 | 26 { |
pascal@1664 | 27 mkdir -p $fs/usr |
pascal@1664 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1664 | 29 } |
pascal@1664 | 30 |