wok-current annotate glib-dev/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (2022-07-01)
parents 9e01bc6321ea
children a23978bfa665
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib-dev"
devl547@17595 4 VERSION="2.43.3"
pankso@199 5 CATEGORY="development"
pankso@12471 6 SHORT_DESC="C routines devel files and utilities (with Python codegen)."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@22 9 WANTED="glib"
pascal@20669 10 WEB_SITE="https://www.gtk.org/"
pankso@16015 11 HOST_ARCH="i486 arm"
pankso@22 12
pascal@15597 13 DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config"
pankso@12471 14
pankso@22 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 16 genpkg_rules()
pankso@22 17 {
pankso@12471 18 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
slaxemulator@10985 19 cp -a $install/usr/lib/*.*a $fs/usr/lib
slaxemulator@10985 20 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
slaxemulator@10985 21 cp -a $install/usr/lib/glib* $fs/usr/lib
slaxemulator@10985 22 cp -a $install/usr/include $fs/usr
slaxemulator@10985 23 cp -a $install/usr/share/aclocal $fs/usr/share
slaxemulator@10985 24 cp -a $install/usr/share/glib-2.0 $fs/usr/share
pankso@12471 25 cp -a $install/usr/share/gdb $fs/usr/share
pankso@12540 26
pankso@12471 27 # Python codegen, tester, compile, Perl mkenums
al@16818 28 #cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
slaxemulator@12597 29 for bin in gdbus-codegen gtester* glib-mkenums
pankso@12471 30 do
pankso@12471 31 cp -a $install/usr/bin/$bin $fs/usr/bin
pankso@12471 32 done
pankso@12540 33
pankso@842 34 # Remove libgio-dev
pankso@842 35 rm -rf $fs/usr/lib/libgio*.*a
pankso@842 36 rm -rf $fs/usr/include/gio-unix-2.0
pankso@842 37 rm $fs/usr/lib/pkgconfig/gio*.pc
psychomaniak@18115 38
psychomaniak@18115 39 # exclude from files.list (for tazpkg-find-depends)
psychomaniak@18115 40 cd $fs/usr/share/gdb/auto-load
psychomaniak@18115 41 for i in $(ls *.py);do mv -f $i ${i//./-.-};done
pankso@22 42 }
psychomaniak@18115 43 post_install()
psychomaniak@18115 44 {
pascal@18730 45 cd "$1/usr/share/gdb/auto-load"
psychomaniak@18115 46 for i in $(ls *.-py);do mv -f $i ${i//-.-/.};done
psychomaniak@18115 47 }