wok-next annotate glib-dev/receipt @ rev 16226

Down fpc (2.6.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 01 07:58:59 2014 +0000 (2014-04-01)
parents 8ed62ecac0c7
children 3a1e8d25c320
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib-dev"
pascal@13394 4 VERSION="2.32.4"
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"
pankso@22 10 WEB_SITE="http://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@16015 15 case "$ARCH" in
pankso@16015 16 arm) VERSION="2.34.3" ;;
pankso@16015 17 esac
pankso@16015 18
pankso@22 19 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 20 genpkg_rules()
pankso@22 21 {
pankso@12471 22 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
slaxemulator@10985 23 cp -a $install/usr/lib/*.*a $fs/usr/lib
slaxemulator@10985 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
slaxemulator@10985 25 cp -a $install/usr/lib/glib* $fs/usr/lib
slaxemulator@10985 26 cp -a $install/usr/include $fs/usr
slaxemulator@10985 27 cp -a $install/usr/share/aclocal $fs/usr/share
slaxemulator@10985 28 cp -a $install/usr/share/glib-2.0 $fs/usr/share
pankso@12471 29 cp -a $install/usr/share/gdb $fs/usr/share
pankso@12540 30
pankso@12471 31 # Python codegen, tester, compile, Perl mkenums
pankso@12471 32 cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
slaxemulator@12597 33 for bin in gdbus-codegen gtester* glib-mkenums
pankso@12471 34 do
pankso@12471 35 cp -a $install/usr/bin/$bin $fs/usr/bin
pankso@12471 36 done
pankso@12540 37
pankso@842 38 # Remove libgio-dev
pankso@842 39 rm -rf $fs/usr/lib/libgio*.*a
pankso@842 40 rm -rf $fs/usr/include/gio-unix-2.0
pankso@842 41 rm $fs/usr/lib/pkgconfig/gio*.pc
pankso@22 42 }