wok view glib-dev/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | b6b11a776057 |
children | 380ffe05937a |
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 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 }