wok-4.x view fwbuilder/receipt @ rev 12416
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:27 2013 +0100 (2013-12-21) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fwbuilder"
4 VERSION="5.0.0.3568"
5 CATEGORY="network"
6 SHORT_DESC="Firewall management GUI."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.fwbuilder.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libxml2 libxslt zlib libQtGui libQtNetwork libQtCore"
13 BUILD_DEPENDS="qmake libxslt-dev Qt4-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/Categories=.*/Categories=GNOME;Application;System;/' src/res/fwbuilder.desktop
20 ./autogen.sh
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make INSTALL_ROOT=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/* $fs
32 }