wok-next annotate perl-algorithm-permute/receipt @ rev 14203
linux-libre: fix check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 10:38:19 2013 +0100 (2013-03-14) |
parents | 2b7b8edd9d7d |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@13352 | 1 # SliTaz package receipt. |
pascal@13352 | 2 |
pascal@13352 | 3 PACKAGE="perl-algorithm-permute" |
pascal@13352 | 4 VERSION="0.12" |
pascal@13352 | 5 CATEGORY="development" |
pascal@13353 | 6 SHORT_DESC="Algorithm::Permute module is a Perl extension." |
pascal@13352 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13353 | 8 WEB_SITE="http://search.cpan.org/" |
pascal@13352 | 9 DEPENDS="perl" |
pascal@13352 | 10 BUILD_DEPENDS="perl" |
pascal@13352 | 11 SOURCE="Algorithm-Permute" |
pascal@13352 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13352 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/$TARBALL" |
pascal@13352 | 14 |
pascal@13352 | 15 # Rules to configure and make the package. |
pascal@13352 | 16 compile_rules() |
pascal@13352 | 17 { |
pascal@13352 | 18 cd $src |
pascal@13352 | 19 perl Makefile.PL && |
pascal@13352 | 20 make && |
pascal@13352 | 21 make install DESTDIR=$DESTDIR |
pascal@13352 | 22 } |
pascal@13352 | 23 |
pascal@13352 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13352 | 25 genpkg_rules() |
pascal@13352 | 26 { |
pascal@13352 | 27 mkdir -p $fs/usr |
pascal@13352 | 28 cp -a $install/usr/lib $fs/usr |
pascal@13352 | 29 } |
pascal@13352 | 30 |