blob: 1ba519a4cdfbe1bfb5172a32863d9b8be5c80f8b (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Achim Gottinger <achim@gentoo.org>
# Maintainer: Spider <spider@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmm/gtkmm-1.3.13.ebuild,v 1.1 2002/05/01 14:35:57 spider Exp $
S=${WORKDIR}/${P}
DESCRIPTION="C++ interface for GTK+"
SRC_URI="http://download.sourceforge.net/gtkmm/${P}.tar.gz"
HOMEPAGE="http://gtkmm.sourceforge.net/"
SLOT="2"
DEPEND="virtual/glibc
>=x11-libs/gtk+-2.0.0
>=dev-libs/libsigc++-1.1.0"
RDEPEND=${DEPEND}
src_compile() {
local myconf
if [ "${DEBUG}" ]
then
myconf="--enable-debug=yes"
else
myconf="--enable-debug=no"
fi
./configure --host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--sysconfdir=/etc/X11 \
--with-xinput=xfree \
--with-x \
${myconf} || die "configure failure"
emake || die "emake failure."
}
src_install() {
make DESTDIR=${D} \
install || die "make install failure"
dodoc AUTHORS COPYING ChangeLog* HACKING
dodoc NEWS* README* TODO
}
|