wok annotate fwbuilder/receipt @ rev 13119

aubio: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 02 20:33:54 2012 +0200 (2012-07-02)
parents
children 68ec33732967
rev   line source
pascal@11548 1 # SliTaz package receipt.
pascal@11548 2
pascal@11548 3 PACKAGE="fwbuilder"
pascal@11548 4 VERSION="5.0.0.3568"
pascal@11548 5 CATEGORY="network"
pascal@11548 6 SHORT_DESC="Firewall management GUI."
pascal@11548 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11548 8 WEB_SITE="http://www.fwbuilder.org/"
pascal@11548 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11548 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11548 11
pascal@11548 12 DEPENDS="libxml2 libxslt zlib libQtGui libQtNetwork libQtCore"
pascal@11548 13 BUILD_DEPENDS="qmake libxslt-dev Qt4-dev"
pascal@11548 14
pascal@11548 15 # Rules to configure and make the package.
pascal@11548 16 compile_rules()
pascal@11548 17 {
pascal@11548 18 cd $src
pascal@11548 19 sed -i 's/Categories=.*/Categories=GNOME;Application;System;/' src/res/fwbuilder.desktop
pascal@11548 20 ./autogen.sh
pascal@11548 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11548 22 --mandir=/usr/share/man \
pascal@11548 23 $CONFIGURE_ARGS &&
pascal@11548 24 make &&
pascal@11548 25 make INSTALL_ROOT=$DESTDIR install
pascal@11548 26 }
pascal@11548 27
pascal@11548 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11548 29 genpkg_rules()
pascal@11548 30 {
pascal@11548 31 cp -a $_pkg/* $fs
pascal@11548 32 }