wok-6.x view fwbuilder/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 88f64a860eaf |
children | 7bb096863642 |
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 autoconf automake libtool"
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 }