blob: aa9d82fa233bcb6d5bbe57ec17f6676a1abc8227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
inherit autotools multilib
DESCRIPTION="Large Graph Visualization System"
HOMEPAGE="http://tulip.labri.fr/"
SRC_URI="mirror://sourceforge/auber/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="stats tlprender"
RDEPEND="dev-libs/libxml2
media-libs/freetype:2
media-libs/glew
x11-libs/qt-assistant:4
x11-libs/qt-gui:4
x11-libs/qt-opengl:4"
DEPEND="${RDEPEND}"
pkg_setup() {
enewgroup tulip
}
src_unpack() {
unpack ${A}
cd "${S}"
eautoreconf
}
src_compile() {
myconf=""
if use stats ; then
myconf="${myconf} --enable-stats-gui"
fi
if use tlprender ; then
myconf="${myconf} --enable-tlprender"
fi
myconf="${myconf} MOC=/usr/bin/moc UIC=/usr/bin/uic"
econf \
"--with-qt-includes=/usr/include/qt4" \
"--with-qt-libraries=/usr/$(get_libdir)/qt4" \
${myconf} \
emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
rm -r "${D}/usr/share/tulip"
dodoc TODO README AUTHORS INSTALL ChangeLog || die "dodoc failed"
}
|