wok-current view fwbuilder/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
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 }