wok view iprange/receipt @ rev 21874

facter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:31:06 2019 +0200 (2019-09-28)
parents d79fd0c7512f
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make -j 1 &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $install/usr/share/doc
28 mkdir -p $fs/usr
29 cp $src/README* $install/usr/share/doc
30 cp -a $install/usr/bin $fs/usr
31 }