wok annotate iprange/receipt @ rev 20535

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