wok-current annotate perl-config-tiny/receipt @ rev 21816
proj-dev: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 19 10:53:21 2019 +0200 (2019-08-19) |
parents | 46fc8daa3b41 |
children | 7cd3bc45a1aa |
rev | line source |
---|---|
pascal@18321 | 1 # SliTaz package receipt. |
pascal@18321 | 2 |
pascal@18321 | 3 PACKAGE="perl-config-tiny" |
pascal@18321 | 4 VERSION="2.22" |
pascal@18321 | 5 CATEGORY="development" |
pascal@18321 | 6 SHORT_DESC="Config::Tiny module is a Perl extension." |
pascal@18321 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL2" |
pascal@18321 | 9 SOURCE="Config-Tiny" |
pascal@18321 | 10 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@18321 | 11 WEB_SITE="http://cpan.org/" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/R/RS/RSAVAGE/$TARBALL" |
pascal@18321 | 13 |
pascal@18334 | 14 DEPENDS="perl" |
pascal@18334 | 15 BUILD_DEPENDS="perl" |
pascal@18334 | 16 |
pascal@18321 | 17 # Rules to configure and make the package. |
pascal@18321 | 18 compile_rules() |
pascal@18321 | 19 { |
pascal@18321 | 20 perl Makefile.PL && |
pascal@18321 | 21 make && |
pascal@18321 | 22 make install DESTDIR=$DESTDIR |
pascal@18321 | 23 } |
pascal@18321 | 24 |
pascal@18321 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18321 | 26 genpkg_rules() |
pascal@18321 | 27 { |
pascal@18321 | 28 mkdir -p $fs/usr |
pascal@18321 | 29 cp -a $install/usr/lib $fs/usr |
pascal@18321 | 30 } |