wok-current view glib-dev/receipt @ rev 12789
get-java6-jre: fix generic with tar
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue May 15 21:40:57 2012 +0000 (2012-05-15) |
parents | c325d9f0ab7e |
children | cd7acab4c6fc |
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 libgio libgio-dev pcre-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
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 }