wok-next diff gtklp/receipt @ rev 20916

libopenraw, abiword: update deps; boost: pack unpacked libs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 05:42:25 2018 +0300 (2018-08-21)
parents baf539ef5c7c
children f48456621a9d
line diff
     1.1 --- a/gtklp/receipt	Sat Oct 21 10:54:42 2017 +0200
     1.2 +++ b/gtklp/receipt	Tue Aug 21 05:42:25 2018 +0300
     1.3 @@ -1,60 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gtklp"
     1.8  VERSION="1.3.0"
     1.9  CATEGORY="utilities"
    1.10 +SHORT_DESC="Tools to use and administrate CUPS"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -SHORT_DESC="Tools to use and administrate CUPS"
    1.14  WEB_SITE="http://gtklp.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 -TAGS=""
    1.19  
    1.20 -DEPENDS="cups gtk+"
    1.21  BUILD_DEPENDS="cups-dev gtk+-dev autoconf automake libtool gettext-tools"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	sed -i 's/^gettextize .*/autopoint -f/' autogen.sh
    1.29 -	chmod +x autogen.sh 
    1.30 +	chmod +x autogen.sh
    1.31  	./autogen.sh
    1.32  	# Disable /root/missing script
    1.33  	sed -i '/is-lightweight/{s/eval/! echo/}' configure
    1.34 -	./configure --prefix=/usr &&
    1.35 +
    1.36 +	./configure &&
    1.37 +	fix libtool &&
    1.38  	make &&
    1.39 -	make DESTDIR=$DESTDIR install || return
    1.40 -	mkdir -p $DESTDIR/usr/share/applications
    1.41 -	cat > $DESTDIR/usr/share/applications/gtklp.desktop <<EOT
    1.42 -[Desktop Entry]
    1.43 -Name=Printer Administration
    1.44 -Comment=$SHORT_DESC
    1.45 -Categories=Application;System;
    1.46 -Icon=printer
    1.47 -Exec=gtklp
    1.48 -Type=Application
    1.49 -StartupNotify=true
    1.50 -Terminal=false
    1.51 -EOT
    1.52 -	cat > $DESTDIR/usr/share/applications/gtklpq.desktop <<EOT
    1.53 -[Desktop Entry]
    1.54 -Name=Printer Queue
    1.55 -Comment=$SHORT_DESC
    1.56 -Categories=Application;Utility;
    1.57 -Icon=printer
    1.58 -Exec=gtklpq
    1.59 -Type=Application
    1.60 -StartupNotify=true
    1.61 -Terminal=false
    1.62 -EOT
    1.63 +	make DESTDIR=$DESTDIR install
    1.64  }
    1.65 -	
    1.66 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.67 -genpkg_rules()
    1.68 -{
    1.69 -	mkdir -p $fs/usr/share
    1.70 -	cp -a $install/usr/bin $fs/usr
    1.71 -	cp -a $install/usr/share/applications $fs/usr/share/
    1.72 +
    1.73 +genpkg_rules() {
    1.74 +	copy @std
    1.75 +	DEPENDS="cups gtk+"
    1.76  }