wok view gtkdatabox/receipt @ rev 8853
Updated tazchroot to use slitaz-dev-tools.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 25 00:36:16 2011 +0000 (2011-02-25) |
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 }