wok view gadmin-antivirus/receipt @ rev 24759
pkg-config: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 08:01:47 2022 +0000 (2022-03-18) |
parents | 8dd8bab3f0ca |
children | 9c8ba5b98eb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gadmin-antivirus"
4 VERSION="0.0.3"
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="http://dalalven.dtdns.net/linux/$PACKAGE/$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 }