wok annotate fwbuilder/receipt @ rev 24603

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