wok-next view gobject-introspection/receipt @ rev 19779
Deprecate libgio, use glib instead.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 16 15:39:43 2017 +0300 (2017-06-16) |
parents | d7873beccb0f |
children | ab7c63b80420 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gobject-introspection"
4 VERSION="1.50.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="https://wiki.gnome.org/Projects/GObjectIntrospection"
10 #HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev cairo-dev gtk-doc python-dev util-linux-mount-dev"
16 BUILD_DEPENDS_arm="glib-dev libffi-dev cairo-dev dbus-dev"
17 SPLIT="gobject-introspection-dev"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*)
22 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib"
23 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
24 export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig"
25 ;;
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 case $PACKAGE in
41 gobject-introspection)
42 copy @std *.typelib
43 rm -r $fs/usr/share
44 DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
45 util-linux-uuid zlib"
46 ;;
47 *-dev)
48 copy @std @dev
49 remove_already_packed
50 DEPENDS="gobject-introspection glib-dev libffi-dev \
51 pcre-dev util-linux-blkid-dev util-linux-mount-dev \
52 util-linux-uuid-dev zlib-dev"
53 ;;
54 esac
55 }