wok-current annotate perl-crypt-des/receipt @ rev 17832
Up: slitaz-boot-scripts (5.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 23 02:04:52 2015 +0200 (2015-03-23) |
parents | 9a5054d0078e |
children | a1feea02a3bb |
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@14702 | 8 LICENSE="GPL" |
pascal@3245 | 9 DEPENDS="perl" |
pascal@3245 | 10 BUILD_DEPENDS="perl" |
pascal@3245 | 11 SOURCE="Crypt-DES" |
pascal@3245 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3245 | 13 WEB_SITE="http://cpan.org/" |
pascal@3245 | 14 WGET_URL="http://cpan.org/authors/id/D/DP/DPARIS/$TARBALL" |
pascal@3245 | 15 |
pascal@3245 | 16 # Rules to configure and make the package. |
pascal@3245 | 17 compile_rules() |
pascal@3245 | 18 { |
pascal@3245 | 19 cd $src |
pascal@3245 | 20 perl Makefile.PL |
pascal@3245 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@3245 | 23 } |
pascal@3245 | 24 |
pascal@3245 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3245 | 26 genpkg_rules() |
pascal@3245 | 27 { |
pascal@3245 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@3245 | 30 } |
pascal@3245 | 31 |