blob: 8b81f11703f09e743319469971329993042933f2 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/guile-gtk/guile-gtk-1.2.0.31.ebuild,v 1.8 2007/01/10 17:33:31 hkbst Exp $
MAJOR_PV=${PV%.[0-9]*.[0-9]*}
MINOR_PV=${PV#[0-9]*.[0-9]*.}
IUSE=""
DESCRIPTION="GTK+ bindings for guile"
SRC_URI="http://savannah.nongnu.org/download/guile-gtk/${PN}-${MAJOR_PV}-${MINOR_PV}.tar.gz"
HOMEPAGE="http://www.ping.de/sites/zagadka/guile-gtk/"
KEYWORDS="~x86 ppc ~amd64"
LICENSE="GPL-2"
SLOT="0"
DEPEND=">=dev-scheme/guile-1.6
=x11-libs/gtk+-1.2*"
S=${WORKDIR}/${PN}-${MAJOR_PV}-${MINOR_PV}
src_compile() {
#patch < ${FILESDIR}/${P}-Makefile.in.patch || die "patch failed"
econf || die "econf failed"
emake || die
}
src_install() {
einstall
dodoc INSTALL README* COPYING AUTHORS ChangeLog NEWS TODO
insinto /usr/share/guile-gtk/examples
doins ${S}/examples/*.scm
}
|