wok-next view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-unicode-string"
4 VERSION="2.10"
5 CATEGORY="perl"
6 SHORT_DESC="Unicode::String - String of Unicode characters (UTF-16BE)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Unicode-String"
11 TARBALL="Unicode-String-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/GAAS/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 perl Makefile.PL &&
21 make && make DESTDIR=$install install &&
23 chmod -R u+w $install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 copy @std
30 }