/[gentoo-x86]/x11-libs/gtkdatabox/gtkdatabox-0.9.1.3.ebuild
Gentoo

Contents of /x11-libs/gtkdatabox/gtkdatabox-0.9.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 2 12:01:07 2011 UTC (2 years, 9 months ago) by pva
Branch: MAIN
Version bump.

(Portage version: 2.1.10.20/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild,v 1.4 2010/12/16 18:42:07 pacho Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Gtk+ Widgets for live display of large amounts of fluctuating numerical data"
8 HOMEPAGE="http://sourceforge.net/projects/gtkdatabox/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc +glade test"
15
16 RDEPEND="x11-libs/gtk+:2
17 x11-libs/pango
18 x11-libs/cairo
19 glade? (
20 dev-util/glade:3
21 gnome-base/libglade
22 )
23 "
24
25 DEPEND=${RDEPEND}
26
27 src_prepare() {
28 # Remove -D.*DISABLE_DEPRECATED cflags
29 find . -iname 'Makefile.am' -exec \
30 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 1 failed"
31 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
32 find . -iname 'Makefile.in' -exec \
33 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 2 failed"
34 sed -e '/SUBDIRS/{s: examples::;}' -i Makefile.am -i Makefile.in || die
35 }
36
37 src_configure() {
38 econf \
39 --enable-libtool-lock \
40 --disable-dependency-tracking \
41 $(use_enable glade libglade) \
42 $(use_enable glade) \
43 $(use_enable doc gtk-doc) \
44 $(use_enable test gtktest)
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install
49
50 dodoc AUTHORS ChangeLog README TODO
51 docinto examples
52 dodoc "${S}"/examples/*
53 }

  ViewVC Help
Powered by ViewVC 1.1.20