wok view gobject-introspection/receipt @ rev 7428
Up mplayer-svn (32666)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 28 19:07:16 2010 +0100 (2010-11-28) |
parents | 92eb2f9123f3 |
children | 5d88dc6fd350 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gobject-introspection"
4 VERSION="0.9.10"
5 CATEGORY="x-window"
6 SHORT_DESC="Introspection system for GObject-based libraries."
7 DEPENDS="libgio glib libffi"
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="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/gobject-introspection $fs/usr/lib
34 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
35 find $fs/usr/lib -name "*.pyc" -delete
36 find $fs/usr/lib -name "*.pyo" -delete
37 }