wok-current view gobject-introspection/receipt @ rev 23244

updated ninja (1.9.0 -> 1.10.0)
author Hans-G?nter Theisgen
date Wed Mar 25 10:19:28 2020 +0100 (2020-03-25)
parents 17e313b5b9c1
children 6831608a1b2a
line source
1 # SliTaz package receipt.
3 PACKAGE="gobject-introspection"
4 VERSION="1.43.3"
5 CATEGORY="development"
6 SHORT_DESC="Introspection system for GObject-based libraries"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2 MIT"
9 WEB_SITE="https://wiki.gnome.org/Projects/GObjectIntrospection"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="libgio dbus"
15 BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev \
16 cairo-dev dbus-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm*)
21 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib"
22 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
23 export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig"
24 BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p \
40 $fs/usr/lib \
41 $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
44 cp -a $install/usr/lib/gobject-introspection $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }