wok view gobject-introspection/receipt @ rev 14593

Add antinat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 27 12:17:25 2013 +0200 (2013-05-27)
parents 66feb7f9e198
children 10e6c72b2c15
line source
1 # SliTaz package receipt.
3 PACKAGE="gobject-introspection"
4 VERSION="1.32.1"
5 CATEGORY="development"
6 SHORT_DESC="Introspection system for GObject-based libraries"
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://live.gnome.org/GObjectInstrospection"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 SERIES=$(echo $VERSION | cut -d. -f1,2)
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
13 DEPENDS="libgio"
14 BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev cairo-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p \
30 $fs/usr/lib \
31 $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
34 cp -a $install/usr/lib/gobject-introspection $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }