wok annotate perl-unicode-string/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | d4a4c50235c4 |
children | 0af8df0b46fc |
rev | line source |
---|---|
pascal@1915 | 1 # SliTaz package receipt. |
pascal@1915 | 2 |
pascal@1915 | 3 PACKAGE="perl-unicode-string" |
Hans-G?nter@23411 | 4 VERSION="2.10" |
pascal@1915 | 5 CATEGORY="development" |
Hans-G?nter@23411 | 6 SHORT_DESC="Perl extension Unicode::String." |
pascal@1915 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23411 | 9 WEB_SITE="https://metacpan.org/release/Unicode-String" |
Hans-G?nter@23411 | 10 |
Hans-G?nter@23411 | 11 SOURCE="Unicode-String" |
Hans-G?nter@23411 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23411 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Unicode/$TARBALL" |
Hans-G?nter@23411 | 14 |
pascal@1915 | 15 DEPENDS="perl" |
pascal@1915 | 16 BUILD_DEPENDS="perl" |
pascal@1915 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@1915 | 24 # Rules to configure and make the package. |
pascal@1915 | 25 compile_rules() |
pascal@1915 | 26 { |
pascal@1915 | 27 perl Makefile.PL && |
pascal@1915 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1915 | 30 } |
pascal@1915 | 31 |
pascal@1915 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1915 | 33 genpkg_rules() |
pascal@1915 | 34 { |
pascal@1915 | 35 mkdir -p $fs/usr |
Hans-G?nter@23411 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1915 | 37 } |