wok-current annotate perl-net-ip/receipt @ rev 24469
updated davfs2 (1.5.6 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 14:10:04 2022 +0100 (2022-02-17) |
parents | 833682724b54 |
children |
rev | line source |
---|---|
pascal@2069 | 1 # SliTaz package receipt. |
pascal@2069 | 2 |
pascal@2069 | 3 PACKAGE="perl-net-ip" |
Hans-G?nter@23375 | 4 VERSION="1.26" |
pascal@2069 | 5 CATEGORY="development" |
Hans-G?nter@23375 | 6 SHORT_DESC="Perl extension Net::IP." |
pascal@2069 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23375 | 9 WEB_SITE="https://metacpan.org/release/Net-IP" |
Hans-G?nter@23375 | 10 |
Hans-G?nter@23375 | 11 SOURCE="Net-IP" |
Hans-G?nter@23375 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23375 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23375 | 14 |
pascal@2069 | 15 DEPENDS="perl" |
pascal@2069 | 16 BUILD_DEPENDS="perl" |
pascal@2069 | 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|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@2069 | 24 # Rules to configure and make the package. |
pascal@2069 | 25 compile_rules() |
pascal@2069 | 26 { |
Hans-G?nter@23375 | 27 # mv $SOURCE $src 2> /dev/null |
Hans-G?nter@23375 | 28 # cd $src |
pascal@2069 | 29 perl Makefile.PL && |
pascal@2069 | 30 make && |
pascal@14702 | 31 make DESTDIR=$DESTDIR install |
pascal@2069 | 32 } |
pascal@2069 | 33 |
pascal@2069 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2069 | 35 genpkg_rules() |
pascal@2069 | 36 { |
pascal@2069 | 37 mkdir -p $fs/usr |
Hans-G?nter@23375 | 38 cp -a $install/usr/lib $fs/usr |
pascal@2069 | 39 } |