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