wok-current annotate perl-locale-gettext/receipt @ rev 23361
updated perl-locale-gettext (1.05 -> 1.07)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 10:54:06 2020 +0100 (2020-03-31) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
slaxemulator@7403 | 1 # SliTaz package receipt. |
slaxemulator@7403 | 2 |
slaxemulator@7403 | 3 PACKAGE="perl-locale-gettext" |
Hans-G?nter@23361 | 4 VERSION="1.07" |
slaxemulator@7403 | 5 CATEGORY="development" |
slaxemulator@7403 | 6 SHORT_DESC="Permits access from Perl to the gettext() family of functions." |
slaxemulator@7403 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23361 | 9 WEB_SITE="https://metacpan.org/release/gettext/" |
Hans-G?nter@23361 | 10 |
slaxemulator@7403 | 11 SOURCE="gettext" |
slaxemulator@7403 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23361 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/P/PV/PVANDRY/$TARBALL" |
Hans-G?nter@23361 | 14 |
Hans-G?nter@23361 | 15 DEPENDS="gettext-base perl" |
Hans-G?nter@23361 | 16 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@7403 | 17 |
slaxemulator@7403 | 18 # Rules to configure and make the package. |
slaxemulator@7403 | 19 compile_rules() |
slaxemulator@7403 | 20 { |
Hans-G?nter@23361 | 21 # included in 1.07 |
Hans-G?nter@23361 | 22 # patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch |
Hans-G?nter@23361 | 23 |
Hans-G?nter@23361 | 24 perl Makefile.PL && |
Hans-G?nter@23361 | 25 make && |
pascal@14702 | 26 make DESTDIR="$DESTDIR" install |
slaxemulator@7403 | 27 } |
slaxemulator@7403 | 28 |
slaxemulator@7403 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7403 | 30 genpkg_rules() |
slaxemulator@7403 | 31 { |
slaxemulator@7403 | 32 mkdir -p $fs/usr |
Hans-G?nter@23361 | 33 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23361 | 34 |
slaxemulator@7403 | 35 find "$fs" -name perllocal.pod -delete |
slaxemulator@7403 | 36 find "$fs" -name .packlist -delete |
slaxemulator@7403 | 37 } |