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