summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/skribe/skribe-1.2l.ebuild')
-rw-r--r--app-text/skribe/skribe-1.2l.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/app-text/skribe/skribe-1.2l.ebuild b/app-text/skribe/skribe-1.2l.ebuild
new file mode 100644
index 000000000000..c50d79e1810d
--- /dev/null
+++ b/app-text/skribe/skribe-1.2l.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit multilib
+
+MY_P="${PN}${PV}"
+
+DESCRIPTION="Skribe is a text processor for technical documents written in scheme"
+HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Skribe/"
+SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Skribe/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-scheme/bigloo"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # falsify bigloo auto-strip feature to prevent pre-stripped QA errors
+ sed -r 's/^blinkflags="(.*)"$/blinkflags="\1 -eval '\''(set! *strip* \\#f)'\''"/gi' \
+ -i ./etc/bigloo/configure || die "sed failed"
+}
+
+src_configure() {
+ ./configure \
+ --with-bigloo \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libdir=/usr/$(get_libdir) \
+ --docdir=/usr/share/doc/${PF} || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+}