wok-next annotate perl-appconfig/receipt @ rev 19634

Up Xorg (first chunk)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 10 01:19:30 2017 +0200 (2017-02-10)
parents
children 1a86cb99cbbf
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