wok-current annotate perl-file-listing/receipt @ rev 18104
Up zsh (5.0.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:13:52 2015 +0200 (2015-06-01) |
parents | 94050984820c |
children | 20661c276bcf |
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/" |
erjo@12034 | 14 WGET_URL="http://search.cpan.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 |