wok rev 9770

libgnomeprintui: Fix BUILD_DEPENDS and clean-up
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 20:32:36 2011 +0200 (2011-05-11)
parents f0f1cf7c6cc7
children a34b2bcf117e
files libgnomeprintui/receipt
line diff
     1.1 --- a/libgnomeprintui/receipt	Wed May 11 20:26:52 2011 +0200
     1.2 +++ b/libgnomeprintui/receipt	Wed May 11 20:32:36 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 -