wok-current view fwbuilder/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents 68ec33732967
children f21e99212ae4
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 LICENSE="GPL2"
9 WEB_SITE="http://www.fwbuilder.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libxml2 libxslt zlib libQtGui libQtNetwork libQtCore"
14 BUILD_DEPENDS="qmake libxslt-dev Qt4-dev autoconf automake libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/Categories=.*/Categories=GNOME;Application;System;/' src/res/fwbuilder.desktop
21 ./autogen.sh
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make INSTALL_ROOT=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }