wok-next view gobject-introspection/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 342b30daff76 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gobject-introspection"
4 VERSION="1.52.1"
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 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/gobject-introspection.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="glib-dev libffi-dev cairo-dev dbus-dev"
16 BUILD_DEPENDS="glib-dev cairo-dev gtk-doc python-dev util-linux-mount-dev openssl-dev"
17 SPLIT="gobject-introspection-dev"
19 compile_rules() {
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 ./configure \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make && make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 gobject-introspection)
38 copy @std *.typelib
39 rm -r $fs/usr/share
40 DEPENDS="glib libffi python"
41 ;;
42 *-dev)
43 copy @std @dev @rm
44 DEPENDS="gobject-introspection glib-dev libffi-dev"
45 ;;
46 esac
47 }