wok annotate gobject-introspection/receipt @ rev 15100

weechat: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 12:26:59 2013 +0000 (2013-08-14)
parents 68d68791ced5
children 53082fab5f1e
rev   line source
slaxemulator@6668 1 # SliTaz package receipt.
slaxemulator@6668 2
slaxemulator@6668 3 PACKAGE="gobject-introspection"
al@14225 4 VERSION="1.32.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"
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"
al@14225 13
al@14225 14 DEPENDS="libgio"
al@14225 15 BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev cairo-dev"
slaxemulator@6668 16
slaxemulator@6668 17 # Rules to configure and make the package.
slaxemulator@6668 18 compile_rules()
slaxemulator@6668 19 {
slaxemulator@6668 20 ./configure \
slaxemulator@6669 21 --disable-static \
slaxemulator@6668 22 $CONFIGURE_ARGS &&
slaxemulator@6668 23 make &&
slaxemulator@10223 24 make install
slaxemulator@6668 25 }
slaxemulator@6668 26
slaxemulator@6668 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6668 28 genpkg_rules()
slaxemulator@6668 29 {
al@14225 30 mkdir -p \
al@14225 31 $fs/usr/lib \
al@14225 32 $fs/usr/share
al@14225 33 cp -a $install/usr/bin $fs/usr
al@14225 34 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
al@14225 35 cp -a $install/usr/lib/gobject-introspection $fs/usr/lib
al@14225 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6668 37 }