wok-current annotate perl-convert-asn1/receipt @ rev 7236
Fixed unzip to have all packgaes in bin folder instead of just unzip. This way you can unzip packages with xarchive when it needs zipinfo.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 12 21:36:21 2010 +0000 (2010-11-12) |
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 |