wok-6.x view glib-dev/receipt @ rev 15968
ppp: add pppnc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 24 21:03:12 2014 +0000 (2014-02-24) |
parents | 380ffe05937a |
children | 128f691c5117 |
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/"
12 DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
18 cp -a $install/usr/lib/*.*a $fs/usr/lib
19 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
20 cp -a $install/usr/lib/glib* $fs/usr/lib
21 cp -a $install/usr/include $fs/usr
22 cp -a $install/usr/share/aclocal $fs/usr/share
23 cp -a $install/usr/share/glib-2.0 $fs/usr/share
24 cp -a $install/usr/share/gdb $fs/usr/share
26 # Python codegen, tester, compile, Perl mkenums
27 cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
28 for bin in gdbus-codegen gtester* glib-mkenums
29 do
30 cp -a $install/usr/bin/$bin $fs/usr/bin
31 done
33 # Remove libgio-dev
34 rm -rf $fs/usr/lib/libgio*.*a
35 rm -rf $fs/usr/include/gio-unix-2.0
36 rm $fs/usr/lib/pkgconfig/gio*.pc
37 }