summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-02 16:03:28 +0000
committerJustin Lecher <jlec@gentoo.org>2013-06-02 16:03:28 +0000
commit8836783dd8e4a0e20d72ffc1b2944cafaa59811c (patch)
treecf3916860066d6059fbe0b9fcc7f8d2f6fb48496 /dev-scheme/greg/greg-2.0.0-r1.ebuild
parentFix license of examples, bug 448410. (diff)
downloadhistorical-8836783dd8e4a0e20d72ffc1b2944cafaa59811c.tar.gz
historical-8836783dd8e4a0e20d72ffc1b2944cafaa59811c.tar.bz2
historical-8836783dd8e4a0e20d72ffc1b2944cafaa59811c.zip
dev-scheme/greg: Handle static-libs, implement test phase
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64 Manifest-Sign-Key: 0x8009D6F070EB7916
Diffstat (limited to 'dev-scheme/greg/greg-2.0.0-r1.ebuild')
-rw-r--r--dev-scheme/greg/greg-2.0.0-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-scheme/greg/greg-2.0.0-r1.ebuild b/dev-scheme/greg/greg-2.0.0-r1.ebuild
new file mode 100644
index 000000000000..1fb6a90baea6
--- /dev/null
+++ b/dev-scheme/greg/greg-2.0.0-r1.ebuild
@@ -0,0 +1,31 @@
+# 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.1 2013/06/02 16:03:27 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
+
+}