wok-next annotate perl-unicode-string/receipt @ rev 19769

Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 14 09:51:23 2017 +0300 (2017-06-14)
parents 1a86cb99cbbf
children 4e6503d7a19f
rev   line source
pascal@1915 1 # SliTaz package receipt.
pascal@1915 2
pascal@1915 3 PACKAGE="perl-unicode-string"
al@19709 4 VERSION="2.10"
al@19709 5 CATEGORY="perl"
al@19709 6 SHORT_DESC="Unicode::String - String of Unicode characters (UTF-16BE)"
pascal@1915 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
al@19709 9 WEB_SITE="https://metacpan.org/release/Unicode-String"
al@19709 10
al@19709 11 TARBALL="Unicode-String-$VERSION.tar.gz"
al@19709 12 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/GAAS/$TARBALL"
al@19709 13
pascal@1915 14 DEPENDS="perl"
al@19769 15 BUILD_DEPENDS="perl-dev"
pascal@1915 16
pascal@1915 17 # Rules to configure and make the package.
pascal@1915 18 compile_rules()
pascal@1915 19 {
pascal@1915 20 perl Makefile.PL &&
al@19709 21 make && make DESTDIR=$install install &&
al@19709 22
al@19709 23 chmod -R u+w $install
pascal@1915 24 }
pascal@1915 25
pascal@1915 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1915 27 genpkg_rules()
pascal@1915 28 {
al@19709 29 copy @std
pascal@1915 30 }