summaryrefslogtreecommitdiff
blob: 91055c0d051595af14ec273b31861ce313170b1c (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-lib/guile-lib-0.1.6.ebuild,v 1.9 2010/07/14 01:09:27 jer Exp $

inherit eutils

DESCRIPTION="An accumulation place for pure-scheme Guile modules"
HOMEPAGE="http://home.gna.org/guile-lib/"
SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
IUSE=""
RDEPEND="dev-scheme/guile"
DEPEND="${RDEPEND} !<dev-libs/g-wrap-1.9.8"

pkg_setup() {
	local g=$(guile --version|line)
	[[ ${g#* } = 1.6* ]] || {
		built_with_use dev-scheme/guile regex deprecated || die "guile must be built with USE='regex deprecated'"
	}
}

src_install() {
	emake -j1 DESTDIR="${D}" install || die "install failed"
}