wok-6.x view iprange/receipt @ rev 20146
linld: tiny shrink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 11:02:48 2017 +0100 (2017-11-16) |
parents | |
children | 245d8b81fa0c |
line source
1 # SliTaz package receipt.
3 PACKAGE="iprange"
4 VERSION="1.0.3"
5 CATEGORY="security"
6 SHORT_DESC="manage IP ranges"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/firehol/iprange"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ./configure --prefix=/usr \
17 $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $install/usr/share/doc $fs/usr
26 cp $src/README* $install/usr/share/doc
27 cp -a $install/usr/bin $fs/usr
28 }