wok-next annotate perl-compress-raw-zlib/receipt @ rev 12816
gpm: cross compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 21 01:38:41 2012 +0200 (2012-05-21) |
parents | ac009b72eed0 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
erjo@2648 | 1 # SliTaz package receipt. |
erjo@2648 | 2 |
erjo@2648 | 3 PACKAGE="perl-compress-raw-zlib" |
erjo@11831 | 4 VERSION="2.051" |
erjo@2648 | 5 CATEGORY="development" |
erjo@2648 | 6 SHORT_DESC="PERL low-level interface to Zlib" |
erjo@2648 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2648 | 8 DEPENDS="perl" |
erjo@2648 | 9 BUILD_DEPENDS="perl" |
erjo@2648 | 10 SOURCE="Compress-Raw-Zlib" |
erjo@2648 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2648 | 12 WEB_SITE="http://cpan.org/" |
erjo@2648 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$TARBALL" |
erjo@2648 | 14 |
erjo@2648 | 15 # Rules to configure and make the package. |
erjo@2648 | 16 compile_rules() |
erjo@2648 | 17 { |
erjo@2648 | 18 cd $src |
erjo@2648 | 19 perl Makefile.PL |
erjo@2648 | 20 make |
erjo@2648 | 21 make DESTDIR=$PWD/_pkg install |
erjo@2648 | 22 } |
erjo@2648 | 23 |
erjo@2648 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2648 | 25 genpkg_rules() |
erjo@2648 | 26 { |
erjo@2648 | 27 mkdir -p $fs/usr |
erjo@2648 | 28 cp -a $_pkg/usr/lib $fs/usr |
erjo@2648 | 29 } |
erjo@2648 | 30 |