wok-6.x annotate perl-appconfig/receipt @ rev 21247

Add lpcnet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 11 17:27:15 2019 +0200 (2019-04-11)
parents ccf05f4f5e58
children 15650f5d595b
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"
pascal@20671 13 WEB_SITE="https://metacpan.org/release/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