wok-current rev 22905

updated gtklp (1.3.0 -> 1.3.4)
author Hans-G?nter Theisgen
date Sun Feb 23 17:36:37 2020 +0100 (2020-02-23)
parents 7beb79490249
children 37d8597570cc
files gtklp/receipt
line diff
     1.1 --- a/gtklp/receipt	Sun Feb 23 16:46:50 2020 +0100
     1.2 +++ b/gtklp/receipt	Sun Feb 23 17:36:37 2020 +0100
     1.3 @@ -1,31 +1,35 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtklp"
     1.7 -VERSION="1.3.0"
     1.8 +VERSION="1.3.4"
     1.9  CATEGORY="utilities"
    1.10 +TAGS="print"
    1.11 +SHORT_DESC="Tools to use and administrate CUPS."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -SHORT_DESC="Tools to use and administrate CUPS"
    1.15  WEB_SITE="http://gtklp.sourceforge.net/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS=""
    1.20  
    1.21  DEPENDS="cups gtk+"
    1.22 -BUILD_DEPENDS="cups-dev gtk+-dev autoconf automake libtool file"
    1.23 +BUILD_DEPENDS="autoconf automake cups-dev file gtk+-dev libtool"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26 -
    1.27  compile_rules()
    1.28  {
    1.29 -	sed -i 's/^gettextize .*/autopoint -f/' autogen.sh
    1.30 -	chmod +x autogen.sh 
    1.31 +	# < 1.3.4
    1.32 +#	sed -i 's/^gettextize .*/autopoint -f/' autogen.sh
    1.33 +#	chmod +x autogen.sh 
    1.34 +
    1.35  	./autogen.sh
    1.36  	# Disable /root/missing script
    1.37  	sed -i '/is-lightweight/{s/eval/! echo/}' configure
    1.38 +
    1.39  	./configure --prefix=/usr &&
    1.40  	make &&
    1.41  	make DESTDIR=$DESTDIR install || return
    1.42 +
    1.43  	mkdir -p $DESTDIR/usr/share/applications
    1.44  	cat > $DESTDIR/usr/share/applications/gtklp.desktop <<EOT
    1.45  [Desktop Entry]
    1.46 @@ -55,6 +59,7 @@
    1.47  genpkg_rules()
    1.48  {
    1.49  	mkdir -p $fs/usr/share
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 -	cp -a $install/usr/share/applications $fs/usr/share/
    1.52 +
    1.53 +	cp -a $install/usr/bin			$fs/usr
    1.54 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.55  }