wok-current annotate perl-uri/receipt @ rev 24107
updated adminer (4.7.5 -> 4.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 25 17:50:51 2021 +0100 (2021-09-25) |
parents | aa78751a04b3 |
children | bcb3ff2f24ce |
rev | line source |
---|---|
pascal@4838 | 1 # SliTaz package receipt. |
pascal@4838 | 2 |
pascal@4838 | 3 PACKAGE="perl-uri" |
Hans-G?nter@23412 | 4 VERSION="1.76" |
pascal@4838 | 5 CATEGORY="development" |
Hans-G?nter@23412 | 6 SHORT_DESC="Perl extensions URI::Escape, URI::File, URI::ldap and URI::URL." |
pascal@4838 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23412 | 9 WEB_SITE="https://metacpan.org/release/URI" |
Hans-G?nter@23412 | 10 |
Hans-G?nter@23412 | 11 SOURCE="URI" |
Hans-G?nter@23412 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23412 | 13 WGET_URL="https://www.cpan.org/modules/by-module/URI/$TARBALL" |
Hans-G?nter@23412 | 14 |
Hans-G?nter@23412 | 15 PROVIDE="perl-uri-escape perl-uri-file perl-uri-ldap perl-uri-url" |
pascal@4838 | 16 DEPENDS="perl" |
pascal@4838 | 17 BUILD_DEPENDS="perl" |
pascal@4838 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@4838 | 25 # Rules to configure and make the package. |
pascal@4838 | 26 compile_rules() |
pascal@4838 | 27 { |
pascal@4838 | 28 perl Makefile.PL && |
pascal@4838 | 29 make && |
slaxemulator@10203 | 30 make install DESTDIR=$DESTDIR |
pascal@4838 | 31 } |
pascal@4838 | 32 |
pascal@4838 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4838 | 34 genpkg_rules() |
pascal@4838 | 35 { |
pascal@4838 | 36 mkdir -p $fs/usr |
Hans-G?nter@23412 | 37 cp -a $install/usr/lib $fs/usr |
pascal@4838 | 38 } |