# HG changeset patch # User Pascal Bellard # Date 1324822734 -3600 # Node ID 88f64a860eaf227878d1f4fa570bb0e981d04467 # Parent 88ad0fb361328ee29cfd1722f5746b1abc6000c4 Add fwbuilder form wok-undigest diff -r 88ad0fb36132 -r 88f64a860eaf fwbuilder/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fwbuilder/receipt Sun Dec 25 15:18:54 2011 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="fwbuilder" +VERSION="5.0.0.3568" +CATEGORY="network" +SHORT_DESC="Firewall management GUI." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.fwbuilder.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="libxml2 libxslt zlib libQtGui libQtNetwork libQtCore" +BUILD_DEPENDS="qmake libxslt-dev Qt4-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + 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 $_pkg/* $fs +}