wok-current view glib-dev/receipt @ rev 12480
Up: util-linux (2.21.1) no longer util-linux-ng
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:19:05 2012 +0200 (2012-04-23) |
parents | bf0fdda3038d |
children | 8cf3a269d245 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-dev"
4 VERSION="2.32.1"
5 CATEGORY="development"
6 SHORT_DESC="C routines devel files and utilities (with Python codegen)."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="glib"
9 WEB_SITE="http://www.gtk.org/"
11 DEPENDS="glib perl python libffi-dev"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
17 cp -a $install/usr/lib/*.*a $fs/usr/lib
18 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
19 cp -a $install/usr/lib/glib* $fs/usr/lib
20 cp -a $install/usr/include $fs/usr
21 cp -a $install/usr/share/aclocal $fs/usr/share
22 cp -a $install/usr/share/glib-2.0 $fs/usr/share
23 cp -a $install/usr/share/gdb $fs/usr/share
25 # Python codegen, tester, compile, Perl mkenums
26 cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
27 for bin in gdbus-codegen gtester* glib-mkenums glib-compile-*
28 do
29 cp -a $install/usr/bin/$bin $fs/usr/bin
30 done
32 # Remove libgio-dev
33 rm -rf $fs/usr/lib/libgio*.*a
34 rm -rf $fs/usr/include/gio-unix-2.0
35 rm $fs/usr/lib/pkgconfig/gio*.pc
36 }