# SliTaz package receipt.

PACKAGE="gtk+-dev"
VERSION="2.24.33"
CATEGORY="development"
SHORT_DESC="The GIMP Toolkit - development files."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.gtk.org/"

DEPENDS="atk-dev cairo-dev gdk-pixbuf-dev glib-dev gtk+ jpeg-dev 
	libgio-dev libpng-dev libxml2-dev pango-dev pkg-config tiff-dev"
WANTED="gtk+"

HOST_ARCH="i486 arm"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	mkdir -p $fs/usr/share

	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
	cp -a $install/usr/lib/girepository-1.0	$fs/usr/lib
	# Copy all libraries and remove the shared.
	cp -a $install/usr/lib/gtk-2.0		$fs/usr/lib
	rm -rf					$fs/usr/lib/gtk-2.0/2.10.0/*/*.so*
	cp -a $install/usr/include		$fs/usr
	cp -a $install/usr/share/gir-1.0	$fs/usr/share
	cp -a $install/usr/share/aclocal	$fs/usr/share

        # Ensure remove .la files
        find $fs -name "*.la" -delete
}