wok annotate perl-crypt-des/receipt @ rev 3907
Up: tor (0.2.1.19)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Aug 16 19:13:58 2009 +0000 (2009-08-16) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@3245 | 1 # SliTaz package receipt. |
pascal@3245 | 2 |
pascal@3245 | 3 PACKAGE="perl-crypt-des" |
pascal@3245 | 4 VERSION="2.05" |
pascal@3245 | 5 CATEGORY="development" |
pascal@3245 | 6 SHORT_DESC="Crypt::DES module is a Perl extension." |
pascal@3245 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3245 | 8 DEPENDS="perl" |
pascal@3245 | 9 BUILD_DEPENDS="perl" |
pascal@3245 | 10 SOURCE="Crypt-DES" |
pascal@3245 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3245 | 12 WEB_SITE="http://cpan.org/" |
pascal@3245 | 13 WGET_URL="http://cpan.org/authors/id/D/DP/DPARIS/$TARBALL" |
pascal@3245 | 14 |
pascal@3245 | 15 # Rules to configure and make the package. |
pascal@3245 | 16 compile_rules() |
pascal@3245 | 17 { |
pascal@3245 | 18 cd $src |
pascal@3245 | 19 perl Makefile.PL |
pascal@3245 | 20 make |
pascal@3245 | 21 make DESTDIR=$PWD/_pkg install |
pascal@3245 | 22 } |
pascal@3245 | 23 |
pascal@3245 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3245 | 25 genpkg_rules() |
pascal@3245 | 26 { |
pascal@3245 | 27 mkdir -p $fs/usr |
pascal@3245 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@3245 | 29 } |
pascal@3245 | 30 |