wok-next view gtk+-dev/receipt @ rev 16380

ARM: try to fix glib cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 03:48:06 2014 +0200 (2014-04-15)
parents 380ffe05937a
children ecf326d564e0
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk+-dev"
4 VERSION="2.24.18"
5 CATEGORY="development"
6 SHORT_DESC="The GIMP Toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="gtk+"
10 WEB_SITE="http://www.gtk.org/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="cairo-dev glib-dev pango-dev atk-dev tiff-dev pkg-config \
14 libpng-dev jpeg-dev libgio-dev gtk+ gdk-pixbuf-dev libxml2-dev"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib $fs/usr/share
20 cp -a $install/usr/lib/*.*a $fs/usr/lib
21 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
22 # Copy all libs and remove the shared.
23 cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
24 rm -rf $fs/usr/lib/gtk-2.0/2.10.0/*/*.so*
25 cp -a $install/usr/include $fs/usr
26 [ -d "$install/usr/share/gir-1.0" ] && \
27 cp -a $install/usr/share/gir-1.0 $fs/usr/share
28 cp -a $install/usr/share/aclocal $fs/usr/share
29 }