wok-next diff gv/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 2b9f96603415
children d5aab818505e
line diff
     1.1 --- a/gv/receipt	Sat Aug 10 13:52:56 2013 +0000
     1.2 +++ b/gv/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,22 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gv"
     1.8  VERSION="3.7.4"
     1.9  CATEGORY="office"
    1.10 -SHORT_DESC="X11 user interface for Ghostscript."
    1.11 +SHORT_DESC="X11 user interface for Ghostscript"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://www.gnu.org/software/gv/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.gnu.org/software/gv/"
    1.18  WGET_URL="http://ftp.gnu.org/gnu/gv/$TARBALL"
    1.19  
    1.20 -DEPENDS="ghostscript xorg-libXaw3d xorg-libXinerama"
    1.21  BUILD_DEPENDS="xorg-libXaw3d-dev xorg-libXinerama-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 +compile_rules() {
    1.28  	./configure \
    1.29  		--prefix=/usr \
    1.30  		$CONFIGURE_ARGS &&
    1.31 @@ -24,9 +21,8 @@
    1.32  	make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 +genpkg_rules() {
    1.39  	cp -a $install/usr $fs
    1.40  	rm -rf $fs/usr/share/man
    1.41 +	DEPENDS="ghostscript xorg-libXaw3d xorg-libXinerama"
    1.42  }