wok-current view fwbuilder/receipt @ rev 25268
xorg-cf-files/Imake.tmpl: update ArCmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 17 14:59:20 2022 +0000 (2022-07-17) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fwbuilder"
4 VERSION="5.3.7"
5 CATEGORY="network"
6 SHORT_DESC="Firewall management GUI."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/fwbuilder"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="libQtCore libQtGui libQtNetwork libxml2 libxslt zlib"
15 BUILD_DEPENDS="autoconf automake file libtool libxslt-dev qmake Qt4-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's/Categories=.*/Categories=GNOME;Application;System;/' \
27 src/res/fwbuilder.desktop
29 ./autogen.sh &&
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make INSTALL_ROOT=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }