wok-6.x view iprange/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 245d8b81fa0c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="iprange"
4 VERSION="1.0.4"
5 CATEGORY="security"
6 SHORT_DESC="Manage IP ranges."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/firehol/iprange"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $install/usr/share/doc
34 mkdir -p $fs/usr
35 cp $src/README* $install/usr/share/doc
36 cp -a $install/usr/bin $fs/usr
37 }