wok-6.x annotate perl-convert-asn1/receipt @ rev 5289
Up: libssl (1.0.0) Match openssl
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 18 20:56:58 2010 +0200 (2010-04-18) |
parents | c58c6348d297 |
children | 2d12ebd38be4 |
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 |