wok-current annotate perl-file-tail/receipt @ rev 23184
updated mobile-broadband-provider-info (20190116 -> 20190618)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 19 17:17:33 2020 +0100 (2020-03-19) |
parents | 979b97234beb |
children | ca4a422cce07 |
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@20682 | 14 WGET_URL="https://metacpan.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 |