wok view gadmin-antivirus/receipt @ rev 25467

Up gnumeric (1.12.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 03 08:28:51 2022 +0000 (2022-10-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 }