wok-current annotate perl-io-compress/receipt @ rev 18910
Add gnubg (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 22 21:54:46 2016 +0100 (2016-02-22) |
parents | d0bd20684da8 |
children | 20661c276bcf |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-io-compress" |
erjo@2647 | 4 VERSION="2.017" |
erjo@2647 | 5 CATEGORY="development" |
erjo@2647 | 6 SHORT_DESC="PERL interface to zlib compression library" |
erjo@2647 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@2647 | 9 DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" |
erjo@2647 | 10 BUILD_DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" |
erjo@2647 | 11 SOURCE="IO-Compress" |
erjo@2647 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2647 | 13 WEB_SITE="http://cpan.org/" |
erjo@2647 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$TARBALL" |
erjo@2647 | 15 |
erjo@2647 | 16 |
erjo@2647 | 17 # Rules to configure and make the package. |
erjo@2647 | 18 compile_rules() |
erjo@2647 | 19 { |
erjo@2647 | 20 cd $src |
erjo@2647 | 21 perl Makefile.PL |
erjo@2647 | 22 make |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
erjo@2647 | 24 } |
erjo@2647 | 25 |
erjo@2647 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 27 genpkg_rules() |
erjo@2647 | 28 { |
erjo@2647 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
erjo@2647 | 31 } |
erjo@2647 | 32 |