summaryrefslogtreecommitdiff
path: root/dev-libs/librep
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/librep
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/librep')
-rw-r--r--dev-libs/librep/Manifest7
-rw-r--r--dev-libs/librep/files/50librep-gentoo.el6
-rw-r--r--dev-libs/librep/files/librep-0.92.0-disable-elisp.patch19
-rw-r--r--dev-libs/librep/librep-0.92.6.ebuild78
-rw-r--r--dev-libs/librep/metadata.xml8
5 files changed, 118 insertions, 0 deletions
diff --git a/dev-libs/librep/Manifest b/dev-libs/librep/Manifest
new file mode 100644
index 000000000000..1e2dda5761d5
--- /dev/null
+++ b/dev-libs/librep/Manifest
@@ -0,0 +1,7 @@
+AUX 50librep-gentoo.el 180 SHA256 ceacafb54b535167f7ec2208e2eebbe07961c919dcea492eb88b535687070148 SHA512 04a4da2e38ddf04bccd28002a46f13526249f31d2e25769056e1b763e3a22f75ffc2a906b68eef0ce04b1e6505acbf858f4d7f911258461e39419ebe4b098b71 WHIRLPOOL c45b1b600bf1caf70d6ccc7e369d2baf8be0be460f162d6d757cb101ef25420100a7622aefcd90dc6ba97e8c9066cdd5f1d365858cf250294e29763dd1b46af1
+AUX librep-0.92.0-disable-elisp.patch 838 SHA256 ee3dfd5691c33d1b5c0760d02cb550f38854656ea574a6e844740324de1dedad SHA512 cdbfe9f8f210869243e38e6ed4f2ea66cee4a1c626e7fcd8b9733870998e59e0a294c3cb9c491eefac8d6b89a8effc9068ea0dd9f2d2d6a86c9dc49dd838f126 WHIRLPOOL 0eb563fb37ca5144263f37f3db2cb617a7db090efcbb01cb792248dc7e3dce4c9fef4b541c16f79b30df3ea04044ee163e760c69a015cbc72cdd4bbc874ffd7a
+DIST librep_0.92.6.tar.xz 472152 SHA256 fec152d0aca9afeb71aed40e7e5af27ca7bd13a41aa493532108f6ef2b04cccc SHA512 6e347e788922af9458e6eddfdaf7935b69df8f70b3f6deb11e6abd67596aec05e7dce7f41db1c84e478347d379ced10cfb34672a797c853913fd538a78a1f96d WHIRLPOOL 3b58a2e3ee23c1b6fdf8c393ad794c819c92e9c4cb82627d883fc3e903c9821ba08694ad0759cc353d824f0541c37e933a673f099ac4b6433196aa6b92d7c3d4
+EBUILD librep-0.92.6.ebuild 1496 SHA256 545ba70e377d76f0ef2609f6b55e0f940d5a8c96a8ff3659618d6f30a2d9d8bf SHA512 d608885996b4e13d3de2e96f2bc2194d411643e5e5c0f649c222450b46aa39df40fd1d7e5c712b3042e29e92c6297f07a908f842b9044320e804263e76a8541d WHIRLPOOL d9457adfc1b93975dd61d49d891071465988a79e1d93ad20f42303c48d1411b730583787c4d98fb11b54f6175ef9f31c3089006d4b8898a45a0e5825d29cf080
+MISC ChangeLog 3706 SHA256 49ba63445436bb10954f98c843555ed29a0d9caab8139487f32ff293a82e2559 SHA512 bd62767192e224c7f0f4b8d385b553646e308c102905b9d91fcff25ec9276f61066d451235e4fe77af2ef4fb6ba3d862b02dc417377dfdf570658c4e9efdf3a0 WHIRLPOOL 771902b991c289f1872474f54f41f39052a64e66c920075178e9436f07b2375dd886d1425e029572c28310b5f325ff3180889427250abc97490f14f99927a597
+MISC ChangeLog-2015 11151 SHA256 e297df1146a7063ce5f642549cf70dab591fd28970dfb691ca6b167a8dc6e78b SHA512 9c71bd5a32b6603a036daaed7eede73d807fab609c5a45d479636cf028df2b78c7cb6d5f29d805bbead6955cd4252f325336eb8eb97e8221ccf48cae7cc0e87c WHIRLPOOL 452066734819f19109fc35f451d492435e8216aa99201d20d70c673695ec0bd88664f335e85bfac6a76aef445c19981fccfb8142c413311d243c41bfb9204972
+MISC metadata.xml 243 SHA256 7ceddc336d9606b121c28d63f2f465292a22b531f06e94e1b0e599efbb5ffcd2 SHA512 6d786c0bd00b4cfc39b7705053bfda7169666513c7e7ca16f9fdcca5244b89f1e0024731214956e6cdcde8d241914c6f66b7dae153c4c48e5a41e44bd1b04411 WHIRLPOOL 91a92b9cd296c2a2ecd8dcbcc9f284cf3e71eba7ba5ac40625a95fcc3c0e6a330f5ed685c4afeb93c39ede7e5d2825d9e61fce9a299c511ae70b6717f8ab2620
diff --git a/dev-libs/librep/files/50librep-gentoo.el b/dev-libs/librep/files/50librep-gentoo.el
new file mode 100644
index 000000000000..59025bbb9d0e
--- /dev/null
+++ b/dev-libs/librep/files/50librep-gentoo.el
@@ -0,0 +1,6 @@
+
+;;; librep site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rep-debugger "rep-debugger"
+ "Run the rep debugger on program FILE in buffer *gud-FILE*." t)
diff --git a/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch b/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch
new file mode 100644
index 000000000000..03cec6f710b6
--- /dev/null
+++ b/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch
@@ -0,0 +1,19 @@
+--- librep_0.92.5/Makefile.in.old 2011-07-25 14:08:18.000000000 +0200
++++ librep_0.92.5/Makefile.in 2011-07-25 14:09:05.000000000 +0200
+@@ -53,15 +53,13 @@
+ $(INSTALL_SCRIPT) libtool $(DESTDIR)$(repcommonexecdir)
+ $(INSTALL_DATA) rules.mk $(DESTDIR)$(repcommonexecdir)
+ $(INSTALL_SCRIPT) install-aliases $(DESTDIR)$(repcommonexecdir)
+- $(INSTALL_DATA) rep-debugger.el $(DESTDIR)$(emacssitelispdir)
+ mkdir -p $(DESTDIR)$(libdir)/pkgconfig
+ $(INSTALL_DATA) $(top_srcdir)/librep.pc $(DESTDIR)$(libdir)/pkgconfig/
+
+ installdirs : mkinstalldirs
+ $(SHELL) $< $(DESTDIR)$(repdir) \
+ $(DESTDIR)$(bindir) $(DESTDIR)$(aclocaldir) \
+- $(DESTDIR)$(repcommonexecdir) $(DESTDIR)$(repexecdir) \
+- $(DESTDIR)$(emacssitelispdir)
++ $(DESTDIR)$(repcommonexecdir) $(DESTDIR)$(repexecdir)
+
+ uninstall :
+ -for dir in $(INSTALL_SUBDIRS); do \
diff --git a/dev-libs/librep/librep-0.92.6.ebuild b/dev-libs/librep/librep-0.92.6.ebuild
new file mode 100644
index 000000000000..259b0e4cdbfa
--- /dev/null
+++ b/dev-libs/librep/librep-0.92.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils flag-o-matic
+
+DESCRIPTION="Shared library implementing a Lisp dialect"
+HOMEPAGE="http://librep.sourceforge.net/"
+SRC_URI="http://download.tuxfamily.org/librep/${PN}_${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="emacs readline"
+
+RDEPEND="
+ >=sys-libs/gdbm-1.8.0
+ emacs? ( virtual/emacs )
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ app-arch/xz-utils
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.92.0-disable-elisp.patch"
+)
+
+S="${WORKDIR}/${PN}_${PV}"
+
+src_prepare() {
+ # fix #570072 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+ default
+
+ # The configure script is missing from this version.
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --libexecdir=/usr/$(get_libdir) \
+ --without-gmp \
+ --without-ffi \
+ --disable-static \
+ $(use_with readline)
+}
+
+src_compile() {
+ default
+
+ if use emacs; then
+ elisp-compile rep-debugger.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+
+ dodoc doc/*
+
+ if use emacs; then
+ elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" \
+ || die "elisp-site-file-install failed"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-libs/librep/metadata.xml b/dev-libs/librep/metadata.xml
new file mode 100644
index 000000000000..c962fd87965c
--- /dev/null
+++ b/dev-libs/librep/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">librep</remote-id>
+ </upstream>
+</pkgmetadata>