wok annotate perl-sub-identify/receipt @ rev 21754
Up firefox-official (67.0.3), tinyproxy (1.10.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 19 17:26:14 2019 +0200 (2019-06-19) |
parents | |
children | ca4a422cce07 |
rev | line source |
---|---|
pascal@20470 | 1 # SliTaz package receipt. |
pascal@20470 | 2 |
pascal@20470 | 3 PACKAGE="perl-sub-identify" |
pascal@20470 | 4 VERSION="0.14" |
pascal@20470 | 5 CATEGORY="development" |
pascal@20470 | 6 SHORT_DESC="Sub::Identify module is a Perl extension." |
pascal@20470 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20470 | 8 LICENSE="GPL" |
pascal@20470 | 9 DEPENDS="perl" |
pascal@20470 | 10 BUILD_DEPENDS="perl" |
pascal@20470 | 11 SOURCE="Sub-Identify" |
pascal@20470 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20470 | 13 WEB_SITE="http://cpan.org/" |
pascal@20470 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/$TARBALL" |
pascal@20470 | 15 |
pascal@20470 | 16 # Rules to configure and make the package. |
pascal@20470 | 17 compile_rules() |
pascal@20470 | 18 { |
pascal@20470 | 19 perl Makefile.PL && |
pascal@20470 | 20 make && |
pascal@20470 | 21 make DESTDIR=$DESTDIR install |
pascal@20470 | 22 } |
pascal@20470 | 23 |
pascal@20470 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20470 | 25 genpkg_rules() |
pascal@20470 | 26 { |
pascal@20470 | 27 mkdir -p $fs/usr |
pascal@20470 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20470 | 29 } |