wok annotate perl-config-tiny/receipt @ rev 23824
Up openssh (8.3p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 13:18:28 2020 +0000 (2020-05-28) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@18321 | 1 # SliTaz package receipt. |
pascal@18321 | 2 |
pascal@18321 | 3 PACKAGE="perl-config-tiny" |
Hans-G?nter@23303 | 4 VERSION="2.24" |
pascal@18321 | 5 CATEGORY="development" |
Hans-G?nter@23303 | 6 SHORT_DESC="Perl extension Config::Tiny." |
pascal@18321 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL2" |
Hans-G?nter@23303 | 9 WEB_SITE="https://metacpan.org/release/Config-Tiny" |
Hans-G?nter@23303 | 10 |
pascal@18321 | 11 SOURCE="Config-Tiny" |
pascal@18321 | 12 TARBALL="$SOURCE-$VERSION.tgz" |
Hans-G?nter@23303 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Config/$TARBALL" |
pascal@18321 | 14 |
pascal@18334 | 15 DEPENDS="perl" |
pascal@18334 | 16 BUILD_DEPENDS="perl" |
pascal@18334 | 17 |
pascal@18321 | 18 # Rules to configure and make the package. |
pascal@18321 | 19 compile_rules() |
pascal@18321 | 20 { |
pascal@18321 | 21 perl Makefile.PL && |
pascal@18321 | 22 make && |
pascal@18321 | 23 make install DESTDIR=$DESTDIR |
pascal@18321 | 24 } |
pascal@18321 | 25 |
pascal@18321 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18321 | 27 genpkg_rules() |
pascal@18321 | 28 { |
pascal@18321 | 29 mkdir -p $fs/usr |
Hans-G?nter@23303 | 30 cp -a $install/usr/lib $fs/usr |
pascal@18321 | 31 } |