wok-next annotate gobject-introspection/receipt @ rev 20780
GnuPG update: 2.1.21 (2017 May) -> 2.2.8 (CVE-2018-12020) -> GnuPG 2.2.x is the current stable branch of GnuPG
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 05:44:49 2018 +0000 (2018-06-09) |
parents | 757d032c55c7 |
children | f48456621a9d |
rev | line source |
---|---|
al@19768 | 1 # SliTaz package receipt v2. |
slaxemulator@6668 | 2 |
slaxemulator@6668 | 3 PACKAGE="gobject-introspection" |
al@20405 | 4 VERSION="1.52.1" |
al@14225 | 5 CATEGORY="development" |
al@14225 | 6 SHORT_DESC="Introspection system for GObject-based libraries" |
slaxemulator@6668 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 8 LICENSE="LGPL2 MIT" |
al@19768 | 9 WEB_SITE="https://wiki.gnome.org/Projects/GObjectIntrospection" |
al@20405 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/gobject-introspection.html" |
al@19682 | 11 |
al@14225 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
yuripourre@16883 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@14225 | 14 |
al@20405 | 15 BUILD_DEPENDS_arm="glib-dev libffi-dev cairo-dev dbus-dev" |
al@20443 | 16 BUILD_DEPENDS="glib-dev cairo-dev gtk-doc python-dev util-linux-mount-dev openssl-dev" |
al@19768 | 17 SPLIT="gobject-introspection-dev" |
pankso@16084 | 18 |
al@20405 | 19 compile_rules() { |
al@20405 | 20 case "$ARCH" in |
al@20405 | 21 arm*) |
al@20405 | 22 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
al@20405 | 23 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
al@20405 | 24 export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig" |
al@20405 | 25 ;; |
al@20405 | 26 esac |
slaxemulator@6668 | 27 |
slaxemulator@6668 | 28 ./configure \ |
slaxemulator@6669 | 29 --disable-static \ |
slaxemulator@6668 | 30 $CONFIGURE_ARGS && |
al@20405 | 31 fix libtool && |
pankso@16084 | 32 make && make install |
slaxemulator@6668 | 33 } |
slaxemulator@6668 | 34 |
al@20405 | 35 genpkg_rules() { |
al@19768 | 36 case $PACKAGE in |
al@19768 | 37 gobject-introspection) |
al@19768 | 38 copy @std *.typelib |
al@19768 | 39 rm -r $fs/usr/share |
al@20405 | 40 DEPENDS="glib libffi python" |
al@19768 | 41 ;; |
al@19768 | 42 *-dev) |
al@20405 | 43 copy @std @dev @rm |
al@20749 | 44 DEPENDS="gobject-introspection glib-dev libffi-dev" |
al@19768 | 45 ;; |
al@19768 | 46 esac |
slaxemulator@6668 | 47 } |