wok-current annotate perl-xml-entities/receipt @ rev 24297
updated swig (4.0.1 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 15 13:48:03 2022 +0100 (2022-01-15) |
parents | f01f91cda0f1 |
children |
rev | line source |
---|---|
pascal@2067 | 1 # SliTaz package receipt. |
pascal@2067 | 2 |
pascal@2067 | 3 PACKAGE="perl-xml-entities" |
Hans-G?nter@23413 | 4 VERSION="1.0002" |
pascal@2067 | 5 CATEGORY="development" |
Hans-G?nter@23413 | 6 SHORT_DESC="Perl extension XML::Entities." |
pascal@2067 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23413 | 9 WEB_SITE="https://metacpan.org/release/XML-Entities" |
Hans-G?nter@23413 | 10 |
Hans-G?nter@23413 | 11 SOURCE="XML-Entities" |
Hans-G?nter@23413 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23413 | 13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23413 | 14 |
pascal@2067 | 15 DEPENDS="perl" |
slaxemulator@9838 | 16 BUILD_DEPENDS="perl perl-libwww perl-uri" |
pascal@2067 | 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@2067 | 24 # Rules to configure and make the package. |
pascal@2067 | 25 compile_rules() |
pascal@2067 | 26 { |
pascal@2067 | 27 perl Makefile.PL && |
pascal@2067 | 28 make && |
slaxemulator@10191 | 29 make install DESTDIR=$DESTDIR |
pascal@2067 | 30 } |
pascal@2067 | 31 |
pascal@2067 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2067 | 33 genpkg_rules() |
pascal@2067 | 34 { |
pascal@2067 | 35 mkdir -p $fs/usr |
Hans-G?nter@23413 | 36 cp -a $install/usr/lib $fs/usr |
pascal@2067 | 37 } |