wok annotate perl-file-listing/receipt @ rev 21747
tazboot: spare 2k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 17:17:16 2019 +0200 (2019-06-14) |
parents | 2d12ebd38be4 |
children | ca4a422cce07 |
rev | line source |
---|---|
erjo@12034 | 1 # SliTaz package receipt. |
erjo@12034 | 2 |
erjo@12034 | 3 PACKAGE="perl-file-listing" |
erjo@12034 | 4 VERSION="6.04" |
erjo@12034 | 5 CATEGORY="development" |
erjo@12034 | 6 SHORT_DESC="File::Listing - parse directory listing." |
erjo@12034 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@12034 | 9 DEPENDS="perl" |
erjo@12034 | 10 BUILD_DEPENDS="perl" |
erjo@12034 | 11 SOURCE="File-Listing" |
erjo@12034 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@12034 | 13 WEB_SITE="http://cpan.org/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
erjo@12034 | 15 |
erjo@12034 | 16 # Rules to configure and make the package. |
erjo@12034 | 17 compile_rules() |
erjo@12034 | 18 { |
erjo@12034 | 19 cd $src |
erjo@12034 | 20 perl Makefile.PL && |
erjo@12034 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
erjo@12034 | 23 } |
erjo@12034 | 24 |
erjo@12034 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@12034 | 26 genpkg_rules() |
erjo@12034 | 27 { |
erjo@12034 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
erjo@12034 | 30 } |
erjo@12034 | 31 |