# HG changeset patch # User Christophe Lincoln # Date 1305138756 -7200 # Node ID 74bfdbd99e977d41258bfa240c146de346153048 # Parent f0f1cf7c6cc712d88a46fefcbe7e8ec0108dbe7a libgnomeprintui: Fix BUILD_DEPENDS and clean-up diff -r f0f1cf7c6cc7 -r 74bfdbd99e97 libgnomeprintui/receipt --- a/libgnomeprintui/receipt Wed May 11 20:26:52 2011 +0200 +++ b/libgnomeprintui/receipt Wed May 11 20:32:36 2011 +0200 @@ -5,33 +5,27 @@ CATEGORY="x-window" SHORT_DESC="GNOME print user interface library" MAINTAINER="pankso@slitaz.org" -DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" -BUILD_DEPENDS="pkg-config gnome-icon-theme intltool flex" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnome.org/" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.18/$TARBALL" +DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" +BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \ +libgnomecanvas-dev libart_lgpl-dev" + # Rules to configure and make the package. compile_rules() { cd $src ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --with-html-dir=/usr/share/doc \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + --with-html-dir=/usr/share/doc && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share/locale + mkdir -p $fs/usr/lib $fs/usr/share cp -a $_pkg/usr/lib/*.so* $fs/usr/lib - - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share } -