wok annotate perl-net-ip/receipt @ rev 24010
created recipes for diffuse and diffuse-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 30 17:26:17 2021 +0100 (2021-01-30) |
parents | 20661c276bcf |
children | 15650f5d595b |
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@2069 | 18 # Rules to configure and make the package. |
pascal@2069 | 19 compile_rules() |
pascal@2069 | 20 { |
Hans-G?nter@23375 | 21 # mv $SOURCE $src 2> /dev/null |
Hans-G?nter@23375 | 22 # cd $src |
pascal@2069 | 23 perl Makefile.PL && |
pascal@2069 | 24 make && |
pascal@14702 | 25 make DESTDIR=$DESTDIR install |
pascal@2069 | 26 } |
pascal@2069 | 27 |
pascal@2069 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2069 | 29 genpkg_rules() |
pascal@2069 | 30 { |
pascal@2069 | 31 mkdir -p $fs/usr |
Hans-G?nter@23375 | 32 cp -a $install/usr/lib $fs/usr |
pascal@2069 | 33 } |