wok view fwbuilder/receipt @ rev 12083

icedtea6-jdk: fix compiles_rules to work with tazwok. I know it's a bit messy but I need this.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 18:19:26 2012 +0100 (2012-03-09)
parents
children 68ec33732967
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 }