wok diff iprange/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents
children 245d8b81fa0c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/iprange/receipt	Mon Mar 05 15:52:59 2018 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="iprange"
     1.7 +VERSION="1.0.3"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="manage IP ranges"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="https://github.com/firehol/iprange"
    1.14 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	./configure --prefix=/usr \
    1.20 +		$CONFIGURE_ARGS &&
    1.21 +	make &&
    1.22 +	make DESTDIR=$DESTDIR install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $install/usr/share/doc $fs/usr
    1.29 +	cp $src/README* $install/usr/share/doc
    1.30 +	cp -a $install/usr/bin $fs/usr
    1.31 +}