wok-next diff libgnomeui/receipt @ rev 20429

Remove sane-backends-dev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:20:37 2018 +0200 (2018-01-24)
parents 4904e3d374a9
children 25deb7c6df08
line diff
     1.1 --- a/libgnomeui/receipt	Tue Jun 11 10:41:23 2013 +0200
     1.2 +++ b/libgnomeui/receipt	Wed Jan 24 13:20:37 2018 +0200
     1.3 @@ -1,37 +1,55 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libgnomeui"
     1.8  VERSION="2.24.5"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="This is the gui parts of what was previously gnome-libs"
    1.11 +SHORT_DESC="This is the GUI parts of what was previously gnome-libs"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.gnome.org"
    1.16  
    1.17 -DEPENDS="libgnome libgnomecanvas libglade libbonoboui gnome-keyring"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20 +
    1.21  BUILD_DEPENDS="libgnome-dev libgnomecanvas-dev gnome-keyring \
    1.22  libgnome-keyring-dev libbonoboui-dev util-linux-uuid-dev libgcrypt-dev \
    1.23 -dbus-glib-dev esound-dev audiofile-dev libglade-dev intltool"
    1.24 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.25 +dbus-glib-dev esound-dev audiofile-dev libglade-dev intltool xorg-libICE-dev \
    1.26 +xorg-libSM-dev"
    1.27 +SPLIT="libgnomeui-dev"
    1.28  
    1.29 -# Rules to configure and make the package.
    1.30 -compile_rules()
    1.31 -{
    1.32 -	cd $src
    1.33 +compile_rules() {
    1.34  	./configure \
    1.35 -		--prefix=/usr \
    1.36  		--libexecdir=/usr/lib/$PACKAGE \
    1.37  		$CONFIGURE_ARGS &&
    1.38  	make && make install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 -	cp -a $install/usr/lib/libglade $fs/usr/lib
    1.47 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.48 -	find $fs/usr/lib -name *.*a -exec rm -f {} \;
    1.49 +genpkg_rules() {
    1.50 +	case $PACKAGE in
    1.51 +		libgnomeui)
    1.52 +			copy @std
    1.53 +			DEPENDS="GConf alsa-lib atk audiofile bzlib cairo dbus dbus-glib \
    1.54 +			esound fontconfig freetype gdk-pixbuf glib gnome-vfs gtk+ \
    1.55 +			libart_lgpl libbonobo libbonoboui libffi libgcrypt libglade \
    1.56 +			libgnome libgnome-keyring libgnomecanvas libgpg-error libharfbuzz \
    1.57 +			liblzma libpng16 libxml2 orbit2 pango pcre popt util-linux-blkid \
    1.58 +			util-linux-mount util-linux-uuid xorg-libICE xorg-libSM \
    1.59 +			xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
    1.60 +			xorg-libXinerama xorg-libXrender xorg-libxcb xorg-pixman zlib"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			copy @dev
    1.64 +			DEPENDS="libgnomeui GConf-dev alsa-lib-dev atk-dev audiofile-dev \
    1.65 +			bzip2-dev cairo-dev dbus-dev dbus-glib-dev esound-dev \
    1.66 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gnome-vfs-dev \
    1.67 +			gtk+-dev harfbuzz-dev libart_lgpl-dev libbonoboui-dev libffi-dev \
    1.68 +			libgcrypt-dev libglade-dev libgnome-dev libgnome-keyring-dev \
    1.69 +			libgnomecanvas-dev libgpg-error-dev libpng16-dev libxml2-dev \
    1.70 +			orbit2-dev pango-dev pcre-dev popt-dev util-linux-blkid-dev \
    1.71 +			util-linux-mount-dev util-linux-uuid-dev xorg-libICE-dev \
    1.72 +			xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.73 +			xorg-libXext-dev xorg-libXinerama-dev xorg-libXrender-dev \
    1.74 +			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    1.75 +			;;
    1.76 +	esac
    1.77  }