wok-next rev 15160
Up gtklp (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 18:10:11 2013 +0000 (2013-08-15) |
parents | e10edbeeabb4 |
children | db8a785389a8 |
files | gtklp/receipt |
line diff
1.1 --- a/gtklp/receipt Thu Aug 15 17:59:48 2013 +0000 1.2 +++ b/gtklp/receipt Thu Aug 15 18:10:11 2013 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gtklp" 1.7 -VERSION="1.2.8" 1.8 +VERSION="1.3.0" 1.9 CATEGORY="utilities" 1.10 MAINTAINER="jozee@slitaz.org" 1.11 LICENSE="GPL2" 1.12 @@ -16,17 +16,17 @@ 1.13 1.14 # Rules to configure and make the package. 1.15 1.16 -compile_rules() { 1.17 - cd $src 1.18 - sed -i 's|http.h.*|&\n#include <cups/ppd.h>|' gtklp/gtklp.h 1.19 - sed -i 's/^gettextize .*/autopoint -f/' autogen.sh 1.20 - chmod +x autogen.sh 1.21 - ./autogen.sh 1.22 - ./configure --prefix=/usr && 1.23 - make && 1.24 - make DESTDIR=$DESTDIR install || return 1.25 - mkdir -p $DESTDIR/usr/share/applications 1.26 - cat > $DESTDIR/usr/share/applications/gtklp.desktop <<EOT 1.27 +compile_rules() 1.28 +{ 1.29 + cd $src 1.30 + sed -i 's/^gettextize .*/autopoint -f/' autogen.sh 1.31 + chmod +x autogen.sh 1.32 + ./autogen.sh 1.33 + ./configure --prefix=/usr && 1.34 + make && 1.35 + make DESTDIR=$DESTDIR install || return 1.36 + mkdir -p $DESTDIR/usr/share/applications 1.37 + cat > $DESTDIR/usr/share/applications/gtklp.desktop <<EOT 1.38 [Desktop Entry] 1.39 Name=Printer Administration 1.40 Comment=$SHORT_DESC 1.41 @@ -37,7 +37,7 @@ 1.42 StartupNotify=true 1.43 Terminal=false 1.44 EOT 1.45 - cat > $DESTDIR/usr/share/applications/gtklpq.desktop <<EOT 1.46 + cat > $DESTDIR/usr/share/applications/gtklpq.desktop <<EOT 1.47 [Desktop Entry] 1.48 Name=Printer Queue 1.49 Comment=$SHORT_DESC