wok annotate perl-text-iconv/receipt @ rev 22110
python-constantly: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 02 13:26:58 2019 +0100 (2019-11-02) |
parents | 2d12ebd38be4 |
children | ca4a422cce07 |
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@14702 | 8 LICENSE="GPL" |
pascal@5972 | 9 DEPENDS="perl" |
pascal@5972 | 10 BUILD_DEPENDS="perl" |
pascal@5972 | 11 SOURCE="Text-Iconv" |
pascal@5972 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5972 | 13 WEB_SITE="http://cpan.org/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MP/MPIOTR/$TARBALL" |
pascal@5972 | 15 |
pascal@5972 | 16 # Rules to configure and make the package. |
pascal@5972 | 17 compile_rules() |
pascal@5972 | 18 { |
pascal@5972 | 19 cd $src |
pascal@5972 | 20 perl Makefile.PL && |
pascal@5972 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@5972 | 23 } |
pascal@5972 | 24 |
pascal@5972 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5972 | 26 genpkg_rules() |
pascal@5972 | 27 { |
pascal@5972 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@5972 | 30 } |
pascal@5972 | 31 |