wok view gobject-introspection/receipt @ rev 19745
xfce-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 17:55:27 2017 +0100 (2017-02-18) |
parents | 4a3d38846288 |
children | e3f377fbc5f0 |
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="http://live.gnome.org/GObjectInstrospection"
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 }