wok-6.x annotate perl-config-tiny/receipt @ rev 20376
nagios: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 13 10:34:15 2018 +0200 (2018-06-13) |
parents | 442615e1f82c |
children | 20661c276bcf |
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@18321 | 12 WGET_URL="http://search.cpan.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 } |