SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fwbuilder"

# SliTaz package receipt.

PACKAGE="fwbuilder"
VERSION="5.3.7"
CATEGORY="network"
SHORT_DESC="Firewall management GUI."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/fwbuilder"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/$PACKAGE/archive/v$VERSION.tar.gz"

DEPENDS="libQtCore libQtGui libQtNetwork libxml2 libxslt zlib"
BUILD_DEPENDS="autoconf automake file libtool libxslt-dev qmake Qt4-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's/Categories=.*/Categories=GNOME;Application;System;/' \
        src/res/fwbuilder.desktop

    ./autogen.sh &&
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make INSTALL_ROOT=$DESTDIR install
}

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