wok-current view gadmin-openvpn-client/receipt @ rev 25313
updated smplayer (20.6.0 -> 22.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 17:42:27 2022 +0100 (2022-07-20) |
parents | 52649f27a0da |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gadmin-openvpn-client"
4 VERSION="0.1.9"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ configuration tool for OpenVPN (client)."
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+ openvpn"
14 BUILD_DEPENDS="gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
21 sed '/GAdmin-OpenVPN-Client:/!d;s|.*sion: ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr \
29 --sysconfdir=/etc \
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/usr/sbin $fs/usr
41 cp -a $install/usr/share/pixmaps $fs/usr/share
42 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
43 }