wok-current view gadmin-antivirus/receipt @ rev 25409

updated whois (5.5.6 -> 5.5.13)
author Hans-G?nter Theisgen
date Wed Aug 03 17:56:22 2022 +0100 (2022-08-03)
parents 9c8ba5b98eb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gadmin-antivirus"
4 VERSION="0.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ configuration tool for ClamAV."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20180218034430/http://dalalven.dtdns.net/linux/gadmintools-webpage/"
11 WGET_URL="https://github.com/sedwards/gadmintools_src_pkgs/raw/master/$TARBALL"
13 DEPENDS="gtk+3 clamav"
14 BUILD_DEPENDS="gtk+3-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/sedwards/gadmintools_src_pkgs 2>/dev/null | \
20 sed "/$PACKAGE/!d;s|.*$PACKAGE-||;s|.t.*||;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/applications
40 cp -a $install/etc $fs
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
44 }