blob: a0077be2da55f8721031604e76428433214cbb71 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/einit-modules-scheme/einit-modules-scheme-1.0.0.2.ebuild,v 1.4 2008/06/11 16:35:50 dertobi123 Exp $
inherit eutils python
DESCRIPTION="Scheme modules for eINIT"
SRC_URI="http://einit.jyujin.de/files/${P}.tar.bz2"
HOMEPAGE="http://einit.jyujin.de/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND=">=sys-apps/einit-0.40.0
>=dev-scheme/guile-1.8"
DEPEND="${RDEPEND}
dev-util/scons"
pkg_setup() {
if ! built_with_use "dev-scheme/guile" 'threads' ; then
die "you need to build guile with USE='threads'"
fi
}
src_unpack() {
unpack ${A} || die
python_version || die
}
src_compile() {
scons libdir="$(get_libdir)" destdir="${D}/${ROOT}/" prefix="${ROOT}" || die
}
src_install() {
scons libdir="$(get_libdir)" destdir="${D}/${ROOT}/" prefix="${ROOT}" install || die
dodoc README || die
}
|