wok-next diff gadmin-openvpn-client/receipt @ rev 20634

oxine: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 27 12:51:30 2018 +0200 (2018-04-27)
parents 2b9f96603415
children 8e1b2a143eb3
line diff
     1.1 --- a/gadmin-openvpn-client/receipt	Sat Aug 10 13:52:56 2013 +0000
     1.2 +++ b/gadmin-openvpn-client/receipt	Fri Apr 27 12:51:30 2018 +0200
     1.3 @@ -1,36 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gadmin-openvpn-client"
     1.8  VERSION="0.1.8"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="GTK+ configuration tool for OpenVPN (client)."
    1.11 +SHORT_DESC="GTK+ configuration tool for OpenVPN (client)"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
    1.18  WGET_URL="http://dalalven.dtdns.net/linux/gadmin-openvpn/client/$TARBALL"
    1.19  
    1.20 -DEPENDS="gtk+ openvpn"
    1.21  BUILD_DEPENDS="gtk+-dev"
    1.22  
    1.23 -
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr \
    1.29 -		--sysconfdir=/etc \
    1.30 -		--mandir=/usr/share/man \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 +compile_rules() {
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/share/applications
    1.42 -	cp -a $install/usr/sbin $fs/usr
    1.43 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.44 -	cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS="gtk+ openvpn"
    1.48  }