wok-6.x annotate gtkdatabox/receipt @ rev 5894

inkscape: Fix build with gcc45 (http://bugs.gentoo.org/show_bug.cgi?id=305749)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 22 23:54:43 2010 +0200 (2010-07-22)
parents 1d9d24d05f2f
children f2a1563a472d
rev   line source
pankso@3841 1 # SliTaz package receipt.
pankso@3841 2
pankso@3841 3 PACKAGE="gtkdatabox"
pankso@3841 4 VERSION="0.9.1.1"
pankso@3841 5 CATEGORY="development"
pankso@3841 6 SHORT_DESC="Widget for live display of large amounts of fluctuating data."
pankso@3841 7 MAINTAINER="pankso@slitaz.org"
pankso@3841 8 DEPENDS="gtk+"
pankso@3841 9 BUILD_DEPENDS="pkg-config gtk+-dev"
pankso@3841 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3841 11 WEB_SITE="http://sourceforge.net/projects/gtkdatabox/"
pankso@3841 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@3841 13
pankso@3841 14 # Rules to configure and make the package.
pankso@3841 15 compile_rules()
pankso@3841 16 {
pankso@3841 17 cd $src
pascal@5717 18 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/g' \
pascal@5717 19 -e 's/GTK_WIDGET_STATE/gtk_widget_get_state/g' \
pascal@5717 20 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/g' \
pascal@5717 21 -e 's/GTK_WIDGET_DRAWABLE/gtk_widget_is_drawable/g' \
pascal@5717 22 gtk/gtkdatabox_ruler.c gtk/gtkdatabox.c
pankso@3841 23 ./configure \
pankso@3841 24 --prefix=/usr \
pankso@3841 25 $CONFIGURE_ARGS &&
pankso@3841 26 make && make DESTDIR=$PWD/_pkg install
pankso@3841 27 }
pankso@3841 28
pankso@3841 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3841 30 genpkg_rules()
pankso@3841 31 {
pankso@3841 32 mkdir -p $fs/usr/lib
pankso@3841 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3841 34 }