wok-6.x annotate gobject-introspection/receipt @ rev 6952
Fixed a bug in gobject-introspection. Looks like /usr/lib/girepository-1.0 is needed gobject-introspection instead of the -dev package.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 25 22:01:57 2010 +0000 (2010-10-25) |
parents | 92eb2f9123f3 |
children | 5d88dc6fd350 |
rev | line source |
---|---|
slaxemulator@6668 | 1 # SliTaz package receipt. |
slaxemulator@6668 | 2 |
slaxemulator@6668 | 3 PACKAGE="gobject-introspection" |
slaxemulator@6668 | 4 VERSION="0.9.10" |
slaxemulator@6668 | 5 CATEGORY="x-window" |
slaxemulator@6668 | 6 SHORT_DESC="Introspection system for GObject-based libraries." |
slaxemulator@6669 | 7 DEPENDS="libgio glib libffi" |
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@6668 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$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 |
slaxemulator@6668 | 18 ./configure \ |
slaxemulator@6668 | 19 --prefix=/usr \ |
slaxemulator@6668 | 20 --sysconfdir=/etc \ |
slaxemulator@6669 | 21 --disable-static \ |
slaxemulator@6668 | 22 $CONFIGURE_ARGS && |
slaxemulator@6668 | 23 make && |
slaxemulator@6668 | 24 make DESTDIR=$PWD/_pkg 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 { |
slaxemulator@6668 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@6668 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6668 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6668 | 33 cp -a $_pkg/usr/lib/gobject-introspection $fs/usr/lib |
slaxemulator@6952 | 34 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
slaxemulator@6669 | 35 find $fs/usr/lib -name "*.pyc" -delete |
slaxemulator@6669 | 36 find $fs/usr/lib -name "*.pyo" -delete |
slaxemulator@6668 | 37 } |