wok-6.x view glib-dev/receipt @ rev 21328
updated liburcu and liburcu-dev (0.10.0 -> 0.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 19 10:28:08 2019 +0100 (2019-04-19) |
parents | 9e01bc6321ea |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-dev"
4 VERSION="2.43.3"
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="https://www.gtk.org/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
19 cp -a $install/usr/lib/*.*a $fs/usr/lib
20 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
21 cp -a $install/usr/lib/glib* $fs/usr/lib
22 cp -a $install/usr/include $fs/usr
23 cp -a $install/usr/share/aclocal $fs/usr/share
24 cp -a $install/usr/share/glib-2.0 $fs/usr/share
25 cp -a $install/usr/share/gdb $fs/usr/share
27 # Python codegen, tester, compile, Perl mkenums
28 #cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
29 for bin in gdbus-codegen gtester* glib-mkenums
30 do
31 cp -a $install/usr/bin/$bin $fs/usr/bin
32 done
34 # Remove libgio-dev
35 rm -rf $fs/usr/lib/libgio*.*a
36 rm -rf $fs/usr/include/gio-unix-2.0
37 rm $fs/usr/lib/pkgconfig/gio*.pc
39 # exclude from files.list (for tazpkg-find-depends)
40 cd $fs/usr/share/gdb/auto-load
41 for i in $(ls *.py);do mv -f $i ${i//./-.-};done
42 }
43 post_install()
44 {
45 cd "$1/usr/share/gdb/auto-load"
46 for i in $(ls *.-py);do mv -f $i ${i//-.-/.};done
47 }