wok-next view gobject-introspection/receipt @ rev 16747
Up: bluefish (2.2.5)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Jun 14 19:43:22 2014 +0000 (2014-06-14) |
parents | 058deebcab1d |
children | a4569c7ba24f |
line source
1 # SliTaz package receipt.
3 PACKAGE="gobject-introspection"
4 VERSION="1.34.2"
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 SERIES=$(echo $VERSION | cut -d. -f1,2)
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="libgio dbus"
16 BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev \
17 cairo-dev dbus-dev"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*)
22 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib"
23 export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib"
24 export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig"
25 BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;;
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p \
41 $fs/usr/lib \
42 $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
45 cp -a $install/usr/lib/gobject-introspection $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }