wok-next view gtkdatabox/receipt @ rev 15991
Up: prosody (0.9.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 14:10:27 2014 +0100 (2014-03-02) |
parents | bfef68ad0e7c |
children | c3a368c0cddb |
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/gtkdatabox/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="pkg-config libffi gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Fix from gentoo
22 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup
23 # Remove -D.*DISABLE_DEPRECATED cflags
24 find . -iname 'Makefile.am' -exec \
25 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
26 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
27 find . -iname 'Makefile.in' -exec \
28 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
30 ./configure $CONFIGURE_ARGS && make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }