wok annotate perl-appconfig/receipt @ rev 19243
tazlito: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 12:46:13 2016 +0200 (2016-06-28) |
parents | |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
nneul@17851 | 1 # SliTaz package receipt. |
nneul@17851 | 2 |
nneul@17851 | 3 PACKAGE="perl-appconfig" |
nneul@17851 | 4 VERSION="1.71" |
nneul@17851 | 5 CATEGORY="development" |
nneul@17851 | 6 SHORT_DESC="Perl/CPAN Module AppConfig" |
nneul@17851 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17851 | 8 LICENSE="Artistic" |
nneul@17851 | 9 DEPENDS="perl" |
nneul@17851 | 10 BUILD_DEPENDS="perl" |
nneul@17851 | 11 SOURCE="AppConfig" |
nneul@17851 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@17851 | 13 WEB_SITE="http://search.cpan.org/dist/AppConfig/" |
nneul@17851 | 14 WGET_URL="http://www.cpan.org/authors/id/N/NE/NEILB/$TARBALL" |
nneul@17851 | 15 |
nneul@17851 | 16 # Rules to configure and make the package. |
nneul@17851 | 17 compile_rules() |
nneul@17851 | 18 { |
nneul@17851 | 19 cd $src |
nneul@17851 | 20 perl Makefile.PL && |
nneul@17851 | 21 make && |
nneul@17851 | 22 make DESTDIR=$DESTDIR install |
nneul@17851 | 23 } |
nneul@17851 | 24 |
nneul@17851 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17851 | 26 genpkg_rules() |
nneul@17851 | 27 { |
nneul@17851 | 28 mkdir -p $fs/usr |
nneul@17851 | 29 cp -a $install/usr/lib $fs/usr |
nneul@17851 | 30 # remove perllocal.pod and .packlist |
nneul@17851 | 31 find ${fs} -name perllocal.pod -delete |
nneul@17851 | 32 find ${fs} -name .packlist -delete |
nneul@17851 | 33 |
nneul@17851 | 34 |
nneul@17851 | 35 } |
nneul@17851 | 36 |