wok annotate gobject-introspection/receipt @ rev 17786
Up: libevent 2.0.22
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Mar 14 21:45:49 2015 +0000 (2015-03-14) |
parents | 4a3d38846288 |
children | e3f377fbc5f0 |
rev | line source |
---|---|
slaxemulator@6668 | 1 # SliTaz package receipt. |
slaxemulator@6668 | 2 |
slaxemulator@6668 | 3 PACKAGE="gobject-introspection" |
devl547@17593 | 4 VERSION="1.43.3" |
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" |
slaxemulator@6668 | 9 WEB_SITE="http://live.gnome.org/GObjectInstrospection" |
al@14225 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
yuripourre@16883 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16084 | 12 #HOST_ARCH="i486 arm" |
al@14225 | 13 |
pascal@16215 | 14 DEPENDS="libgio dbus" |
pankso@16084 | 15 BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev \ |
pankso@16084 | 16 cairo-dev dbus-dev" |
pankso@16084 | 17 |
pankso@16084 | 18 # Handle cross compilation |
pankso@16084 | 19 case "$ARCH" in |
pankso@16084 | 20 arm*) |
pankso@16084 | 21 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
pankso@16084 | 23 export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig" |
pankso@16084 | 24 BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;; |
pankso@16084 | 25 esac |
slaxemulator@6668 | 26 |
slaxemulator@6668 | 27 # Rules to configure and make the package. |
slaxemulator@6668 | 28 compile_rules() |
slaxemulator@6668 | 29 { |
slaxemulator@6668 | 30 ./configure \ |
slaxemulator@6669 | 31 --disable-static \ |
slaxemulator@6668 | 32 $CONFIGURE_ARGS && |
pankso@16084 | 33 make && make install |
slaxemulator@6668 | 34 } |
slaxemulator@6668 | 35 |
slaxemulator@6668 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6668 | 37 genpkg_rules() |
slaxemulator@6668 | 38 { |
al@14225 | 39 mkdir -p \ |
al@14225 | 40 $fs/usr/lib \ |
al@14225 | 41 $fs/usr/share |
al@14225 | 42 cp -a $install/usr/bin $fs/usr |
al@14225 | 43 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
al@14225 | 44 cp -a $install/usr/lib/gobject-introspection $fs/usr/lib |
al@14225 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6668 | 46 } |