wok view iprange/receipt @ rev 24703
updated ladspa and ladspa-dev (1.15 -> 1.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 11:12:41 2022 +0100 (2022-03-14) |
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 }