wok-next view gobject-introspection/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0e7893ac206d |
children | 342b30daff76 |
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/stable/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 pcre-dev util-linux-blkid-dev util-linux-mount-dev \
46 util-linux-uuid-dev zlib-dev"
47 ;;
48 esac
49 }