wok-4.x view clutter-gtk/receipt @ rev 9641
Fixed rhino, ecj, and xalan-xerces-j depends. Putting java-jre for depends was a bad idea since these packages are build depends for icedtea6-jdk. java-jre is a wanted package for icetea6-jdk. This was causing a depend loop.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 27 16:22:35 2011 +0000 (2011-04-27) |
parents | b5c56705223a |
children | cbfb348cb173 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clutter-gtk"
4 VERSION="0.10.8"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ libraries for Clutter."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ clutter"
9 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://clutter-project.org/"
12 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np1 -i ../stuff/fix-gir.patch
19 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
20 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
21 clutter-gtk/gtk-clutter-embed.c
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
35 }