wok-next view gtkdatabox/receipt @ rev 6095
clucene add TAGS
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Aug 30 22:01:20 2010 +0200 (2010-08-30) |
parents | 1d9d24d05f2f |
children | f2a1563a472d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkdatabox"
4 VERSION="0.9.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Widget for live display of large amounts of fluctuating data."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="pkg-config gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/gtkdatabox/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/g' \
19 -e 's/GTK_WIDGET_STATE/gtk_widget_get_state/g' \
20 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/g' \
21 -e 's/GTK_WIDGET_DRAWABLE/gtk_widget_is_drawable/g' \
22 gtk/gtkdatabox_ruler.c gtk/gtkdatabox.c
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make && 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 }