blob: e9e80648e8e502bf1776a4729d96b97b93043b06 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild,v 1.1 2013/05/04 12:03:19 jlec Exp $
EAPI=5
AUTOTOOLS_AUTORECONF=true
inherit autotools-utils virtualx
DESCRIPTION="GTK+ bindings for guile"
HOMEPAGE="http://www.gnu.org/software/guile-gtk/"
SRC_URI="ftp://ftp.gnu.org/gnu/guile-gtk/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="
dev-scheme/guile[deprecated(+)]
x11-libs/gtk+:2
gnome-base/libglade:2.0
>=x11-libs/gtkglarea-1.90:2"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-2.0-g-object-ref.diff
"${FILESDIR}"/${PV}-prll-install.patch
"${FILESDIR}"/${PV}-brokentest.patch
)
src_prepare() {
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
autotools-utils_src_prepare
}
src_test() {
cd "${BUILD_DIR}" || die
Xemake check
}
src_install() {
autotools-utils_src_install
insinto /usr/share/doc/${PF}/
doins -r examples
}
|