wok annotate perl-file-tail/receipt @ rev 19758
Up: libmagic (5.30)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Feb 19 09:04:43 2017 +0000 (2017-02-19) |
parents | 2d12ebd38be4 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@7116 | 1 # SliTaz package receipt. |
pascal@7116 | 2 |
pascal@7116 | 3 PACKAGE="perl-file-tail" |
nneul@18448 | 4 VERSION="1.3" |
pascal@7116 | 5 CATEGORY="development" |
pascal@7116 | 6 SHORT_DESC="File::Tail module is a Perl extension." |
pascal@7116 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@7116 | 9 DEPENDS="perl" |
pascal@7116 | 10 BUILD_DEPENDS="perl" |
pascal@7116 | 11 SOURCE="File-Tail" |
pascal@7116 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@7116 | 13 WEB_SITE="http://cpan.org/" |
pascal@7116 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/$TARBALL" |
pascal@7116 | 15 |
pascal@7116 | 16 # Rules to configure and make the package. |
pascal@7116 | 17 compile_rules() |
pascal@7116 | 18 { |
pascal@7116 | 19 cd $src |
pascal@7116 | 20 perl Makefile.PL && |
pascal@7116 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@7116 | 23 } |
pascal@7116 | 24 |
pascal@7116 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7116 | 26 genpkg_rules() |
pascal@7116 | 27 { |
pascal@7116 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@7116 | 30 } |
pascal@7116 | 31 |