wok-next view glib-dev/receipt @ rev 16319
ARM: add mpfr + mpc-library (to cook native ARM gcc) and try to fix glib (gtk crashe are from libgobject-2.0.so.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 09 20:51:15 2014 +0200 (2014-04-09) |
parents | 128f691c5117 |
children | 557291b407c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-dev"
4 VERSION="2.32.4"
5 CATEGORY="development"
6 SHORT_DESC="C routines devel files and utilities (with Python codegen)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="glib"
10 WEB_SITE="http://www.gtk.org/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config"
15 # Handle SliTaz arch
16 case "$SLITAZ_ARCH" in
17 arm*) VERSION="2.34.3" ;;
18 esac
19 case "$ARCH" in
20 arm*) VERSION="2.34.3" ;;
21 esac
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
27 cp -a $install/usr/lib/*.*a $fs/usr/lib
28 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
29 cp -a $install/usr/lib/glib* $fs/usr/lib
30 cp -a $install/usr/include $fs/usr
31 cp -a $install/usr/share/aclocal $fs/usr/share
32 cp -a $install/usr/share/glib-2.0 $fs/usr/share
33 cp -a $install/usr/share/gdb $fs/usr/share
35 # Python codegen, tester, compile, Perl mkenums
36 cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
37 for bin in gdbus-codegen gtester* glib-mkenums
38 do
39 cp -a $install/usr/bin/$bin $fs/usr/bin
40 done
42 # Remove libgio-dev
43 rm -rf $fs/usr/lib/libgio*.*a
44 rm -rf $fs/usr/include/gio-unix-2.0
45 rm $fs/usr/lib/pkgconfig/gio*.pc
46 }