wok view perl-net-ip/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents 20661c276bcf
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-ip"
4 VERSION="1.26"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Net::IP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Net-IP"
11 SOURCE="Net-IP"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # mv $SOURCE $src 2> /dev/null
22 # cd $src
23 perl Makefile.PL &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }