wok view gadmin-antivirus/receipt @ rev 25031
Add fatcat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 09:25:51 2022 +0000 (2022-05-20) |
parents | b01314c762e9 |
children | 93483ac22102 |
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+ clamav"
14 BUILD_DEPENDS="gtk+-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 }