wok-current annotate gobject-introspection/receipt @ rev 16780
ffmpegthumbnailer: add thumbnailer file.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 23 01:49:34 2014 +0300 (2014-06-23) |
parents | 058deebcab1d |
children | a4569c7ba24f |
rev | line source |
---|---|
slaxemulator@6668 | 1 # SliTaz package receipt. |
slaxemulator@6668 | 2 |
slaxemulator@6668 | 3 PACKAGE="gobject-introspection" |
pascal@16648 | 4 VERSION="1.34.2" |
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" |
al@14269 | 11 SERIES=$(echo $VERSION | cut -d. -f1,2) |
al@14269 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL" |
pankso@16084 | 13 #HOST_ARCH="i486 arm" |
al@14225 | 14 |
pascal@16215 | 15 DEPENDS="libgio dbus" |
pankso@16084 | 16 BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev \ |
pankso@16084 | 17 cairo-dev dbus-dev" |
pankso@16084 | 18 |
pankso@16084 | 19 # Handle cross compilation |
pankso@16084 | 20 case "$ARCH" in |
pankso@16084 | 21 arm*) |
pankso@16084 | 22 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
pankso@16084 | 23 export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib" |
pankso@16084 | 24 export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig" |
pankso@16084 | 25 BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;; |
pankso@16084 | 26 esac |
slaxemulator@6668 | 27 |
slaxemulator@6668 | 28 # Rules to configure and make the package. |
slaxemulator@6668 | 29 compile_rules() |
slaxemulator@6668 | 30 { |
slaxemulator@6668 | 31 ./configure \ |
slaxemulator@6669 | 32 --disable-static \ |
slaxemulator@6668 | 33 $CONFIGURE_ARGS && |
pankso@16084 | 34 make && make install |
slaxemulator@6668 | 35 } |
slaxemulator@6668 | 36 |
slaxemulator@6668 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6668 | 38 genpkg_rules() |
slaxemulator@6668 | 39 { |
al@14225 | 40 mkdir -p \ |
al@14225 | 41 $fs/usr/lib \ |
al@14225 | 42 $fs/usr/share |
al@14225 | 43 cp -a $install/usr/bin $fs/usr |
al@14225 | 44 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
al@14225 | 45 cp -a $install/usr/lib/gobject-introspection $fs/usr/lib |
al@14225 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6668 | 47 } |