wok-next annotate perl-config-general/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | 2d12ebd38be4 |
children | 4e6503d7a19f |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-config-general" |
al@19709 | 4 VERSION="2.63" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Config::General - Generic Config Module" |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Config-General" |
al@19709 | 10 |
al@19709 | 11 TARBALL="Config-General-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/T/TL/TLINDEN/$TARBALL" |
al@19709 | 13 |
pascal@14698 | 14 DEPENDS="perl" |
pascal@14698 | 15 BUILD_DEPENDS="perl" |
pascal@14698 | 16 |
pascal@14698 | 17 # Rules to configure and make the package. |
pascal@14698 | 18 compile_rules() |
pascal@14698 | 19 { |
pascal@14698 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
pascal@14698 | 24 } |
pascal@14698 | 25 |
pascal@14698 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 27 genpkg_rules() |
pascal@14698 | 28 { |
al@19709 | 29 copy @std |
pascal@14698 | 30 } |