wok view gobject-introspection/receipt @ rev 16883
Up gobject-introspection gobject-introspection-dev (1.39.0)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Jul 13 15:29:58 2014 -0300 (2014-07-13) |
parents | 1b038ed8ee2c |
children | 16be2bb769c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gobject-introspection"
4 VERSION="1.39.0"
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="-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 }