wok-next diff libgnomeprintui/receipt @ rev 9912
slitaz-icon: sed only if file exist
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 18:16:21 2011 +0200 (2011-05-17) |
parents | e5ae411e1d8c |
children | 226e4c8c06f6 |
line diff
1.1 --- a/libgnomeprintui/receipt Mon Apr 04 01:54:51 2011 +0000 1.2 +++ b/libgnomeprintui/receipt Tue May 17 18:16:21 2011 +0200 1.3 @@ -5,33 +5,27 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="GNOME print user interface library" 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" 1.8 -BUILD_DEPENDS="pkg-config gnome-icon-theme intltool flex" 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WEB_SITE="http://www.gnome.org/" 1.11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.18/$TARBALL" 1.12 1.13 +DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" 1.14 +BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \ 1.15 +libgnomecanvas-dev libart_lgpl-dev" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 ./configure \ 1.22 - --prefix=/usr \ 1.23 - --infodir=/usr/share/info \ 1.24 - --mandir=/usr/share/man \ 1.25 - --with-html-dir=/usr/share/doc \ 1.26 - $CONFIGURE_ARGS && 1.27 - make && 1.28 - make DESTDIR=$PWD/_pkg install 1.29 + --with-html-dir=/usr/share/doc && 1.30 + make && make install 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 - mkdir -p $fs/usr/lib $fs/usr/share/locale 1.37 + mkdir -p $fs/usr/lib $fs/usr/share 1.38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.39 - 1.40 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.41 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.42 } 1.43 -