30 lines
759 B
Bash
30 lines
759 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/greg/greg-2.0.0-r1.ebuild,v 1.2 2013/06/02 16:04:34 jlec Exp $
|
|
|
|
EAPI=5
|
|
|
|
AUTOTOOLS_AUTORECONF=true
|
|
|
|
inherit autotools-utils
|
|
|
|
DESCRIPTION="Testing-Framework for guile"
|
|
HOMEPAGE="http://gna.org/projects/greg/"
|
|
SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
LICENSE="GPL-2"
|
|
IUSE="static-libs"
|
|
|
|
RDEPEND=">=dev-scheme/guile-1.8"
|
|
DEPEND=""
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-test.patch )
|
|
|
|
src_test() {
|
|
cd test || die
|
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${BUILD_DIR}/src/.libs"
|
|
export GUILE_LOAD_PATH="$GUILE_LOAD_PATH:${BUILD_DIR}/src/"
|
|
guile -s "${S}"/src/greg || die
|
|
}
|