wok-undigest diff glib-dev/receipt @ rev 1228
updated glib and glib-dev (2.43.3 -> 2.62.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Sep 09 13:48:24 2020 +0100 (2020-09-09) |
parents | 507a1c6e863c |
children | e53d2a350e32 |
line diff
1.1 --- a/glib-dev/receipt Mon Nov 02 05:11:43 2015 +0100 1.2 +++ b/glib-dev/receipt Wed Sep 09 13:48:24 2020 +0100 1.3 @@ -1,48 +1,58 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="glib-dev" 1.7 -VERSION="2.43.3" 1.8 +VERSION="2.62.4" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="C routines devel files and utilities (with Python codegen)." 1.11 +SHORT_DESC="C routines development files and utilities (with Python codegen)." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WANTED="glib" 1.15 -WEB_SITE="http://www.gtk.org/" 1.16 -HOST_ARCH="i486 arm" 1.17 +WEB_SITE="https://www.gtk.org/" 1.18 1.19 DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config" 1.20 +WANTED="glib" 1.21 + 1.22 +HOST_ARCH="i486 arm" 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share 1.28 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.29 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.30 - cp -a $install/usr/lib/glib* $fs/usr/lib 1.31 - cp -a $install/usr/include $fs/usr 1.32 - cp -a $install/usr/share/aclocal $fs/usr/share 1.33 - cp -a $install/usr/share/glib-2.0 $fs/usr/share 1.34 - cp -a $install/usr/share/gdb $fs/usr/share 1.35 + mkdir -p $fs/usr/lib 1.36 + mkdir -p $fs/usr/bin 1.37 + mkdir -p $fs/usr/share 1.38 + 1.39 +# cp -a $install/usr/lib/*.*a $fs/usr/lib not supported in 2.62.4 1.40 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.41 + cp -a $install/usr/lib/glib* $fs/usr/lib 1.42 + cp -a $install/usr/include $fs/usr 1.43 + cp -a $install/usr/share/aclocal $fs/usr/share 1.44 + cp -a $install/usr/share/glib-2.0 $fs/usr/share 1.45 + cp -a $install/usr/share/gdb $fs/usr/share 1.46 1.47 # Python codegen, tester, compile, Perl mkenums 1.48 #cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib 1.49 for bin in gdbus-codegen gtester* glib-mkenums 1.50 - do 1.51 + do 1.52 cp -a $install/usr/bin/$bin $fs/usr/bin 1.53 - done 1.54 + done 1.55 1.56 # Remove libgio-dev 1.57 - rm -rf $fs/usr/lib/libgio*.*a 1.58 - rm -rf $fs/usr/include/gio-unix-2.0 1.59 - rm $fs/usr/lib/pkgconfig/gio*.pc 1.60 +# rm -rf $fs/usr/lib/libgio*.*a not supported in 2.62.4 1.61 + rm -rf $fs/usr/include/gio-unix-2.0 1.62 + rm $fs/usr/lib/pkgconfig/gio*.pc 1.63 1.64 # exclude from files.list (for tazpkg-find-depends) 1.65 cd $fs/usr/share/gdb/auto-load 1.66 - for i in $(ls *.py);do mv -f $i ${i//./-.-};done 1.67 + for i in $(ls *.py) 1.68 + do 1.69 + mv -f $i ${i//./-.-} 1.70 + done 1.71 } 1.72 + 1.73 post_install() 1.74 { 1.75 cd $1/usr/share/gdb/auto-load 1.76 - for i in $(ls *.-py);do mv -f $i ${i//-.-/.};done 1.77 + for i in $(ls *.-py) 1.78 + do 1.79 + mv -f $i ${i//-.-/.} 1.80 + done 1.81 } 1.82 -