SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "iprange"

# SliTaz package receipt.

PACKAGE="iprange"
VERSION="1.0.4"
CATEGORY="security"
SHORT_DESC="Manage IP ranges."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/firehol/iprange"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $install/usr/share/doc
    mkdir -p $fs/usr
    cp $src/README*        $install/usr/share/doc
    cp -a $install/usr/bin    $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)