wok-next annotate perl-text-iconv/receipt @ rev 12135
Fix busybox diff: don't output binary content
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 13 21:24:32 2012 +0100 (2012-03-13) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@5972 | 1 # SliTaz package receipt. |
pascal@5972 | 2 |
pascal@5972 | 3 PACKAGE="perl-text-iconv" |
pascal@5972 | 4 VERSION="1.7" |
pascal@5972 | 5 CATEGORY="development" |
pascal@5972 | 6 SHORT_DESC="Text::Iconv module is a Perl extension." |
pascal@5972 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5972 | 8 DEPENDS="perl" |
pascal@5972 | 9 BUILD_DEPENDS="perl" |
pascal@5972 | 10 SOURCE="Text-Iconv" |
pascal@5972 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5972 | 12 WEB_SITE="http://cpan.org/" |
pascal@5972 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/$TARBALL" |
pascal@5972 | 14 |
pascal@5972 | 15 # Rules to configure and make the package. |
pascal@5972 | 16 compile_rules() |
pascal@5972 | 17 { |
pascal@5972 | 18 cd $src |
pascal@5972 | 19 perl Makefile.PL && |
pascal@5972 | 20 make && |
pascal@5972 | 21 make DESTDIR=$PWD/_pkg install |
pascal@5972 | 22 } |
pascal@5972 | 23 |
pascal@5972 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5972 | 25 genpkg_rules() |
pascal@5972 | 26 { |
pascal@5972 | 27 mkdir -p $fs/usr |
pascal@5972 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@5972 | 29 } |
pascal@5972 | 30 |