wok-undigest view glib-dev/receipt @ rev 1131
glibc: mtune=generic
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Jul 23 19:46:00 2014 +0000 (2014-07-23) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-dev"
4 VERSION="2.36.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 case "$ARCH" in
16 arm) VERSION="2.34.3" ;;
17 esac
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
23 cp -a $install/usr/lib/*.*a $fs/usr/lib
24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
25 cp -a $install/usr/lib/glib* $fs/usr/lib
26 cp -a $install/usr/include $fs/usr
27 cp -a $install/usr/share/aclocal $fs/usr/share
28 cp -a $install/usr/share/glib-2.0 $fs/usr/share
29 cp -a $install/usr/share/gdb $fs/usr/share
31 # Python codegen, tester, compile, Perl mkenums
32 if [ -d "$install/usr/lib/gdbus-2.0" ]; then
33 cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
34 fi
35 for bin in gdbus-codegen gtester* glib-mkenums
36 do
37 cp -a $install/usr/bin/$bin $fs/usr/bin
38 done
40 # Remove libgio-dev
41 rm -rf $fs/usr/lib/libgio*.*a
42 rm -rf $fs/usr/include/gio-unix-2.0
43 rm $fs/usr/lib/pkgconfig/gio*.pc
44 }