wok-6.x annotate gobject-introspection/receipt @ rev 13161

get-wifi-firmware: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 28 09:58:01 2012 +0200 (2012-07-28)
parents a0cd9b113626
children 66feb7f9e198
rev   line source
slaxemulator@6668 1 # SliTaz package receipt.
slaxemulator@6668 2
slaxemulator@6668 3 PACKAGE="gobject-introspection"
slaxemulator@11145 4 VERSION="1.30.0"
slaxemulator@6668 5 CATEGORY="x-window"
slaxemulator@6668 6 SHORT_DESC="Introspection system for GObject-based libraries."
gokhlayeh@7968 7 DEPENDS="libgio glib libffi python"
slaxemulator@6668 8 BUILD_DEPENDS="glib-dev libgio-dev pkg-config bison flex libffi-dev python-dev cairo-dev"
slaxemulator@6668 9 MAINTAINER="pankso@slitaz.org"
slaxemulator@6668 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6668 11 WEB_SITE="http://live.gnome.org/GObjectInstrospection"
slaxemulator@11145 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
slaxemulator@6668 13
slaxemulator@6668 14 # Rules to configure and make the package.
slaxemulator@6668 15 compile_rules()
slaxemulator@6668 16 {
slaxemulator@6668 17 cd $src
pascal@7633 18 sed -i "s/.*self._linker_cmd,.*/&\n if libtool:\n args.append('-export-dynamic')/" giscanner/dumper.py
slaxemulator@6668 19 ./configure \
slaxemulator@6668 20 --prefix=/usr \
slaxemulator@6668 21 --sysconfdir=/etc \
slaxemulator@6669 22 --disable-static \
slaxemulator@6668 23 $CONFIGURE_ARGS &&
slaxemulator@6668 24 make &&
slaxemulator@10223 25 make install
slaxemulator@6668 26 }
slaxemulator@6668 27
slaxemulator@6668 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6668 29 genpkg_rules()
slaxemulator@6668 30 {
slaxemulator@6668 31 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@6668 32 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6668 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6668 34 cp -a $_pkg/usr/lib/gobject-introspection $fs/usr/lib
slaxemulator@6952 35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
slaxemulator@6668 36 }