summaryrefslogtreecommitdiff
path: root/app-emacs/lookup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/lookup
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/lookup')
-rw-r--r--app-emacs/lookup/Manifest5
-rw-r--r--app-emacs/lookup/files/50lookup-gentoo.el4
-rw-r--r--app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch8
-rw-r--r--app-emacs/lookup/lookup-1.4.1.ebuild33
-rw-r--r--app-emacs/lookup/metadata.xml13
5 files changed, 63 insertions, 0 deletions
diff --git a/app-emacs/lookup/Manifest b/app-emacs/lookup/Manifest
new file mode 100644
index 000000000000..d157df7cfd89
--- /dev/null
+++ b/app-emacs/lookup/Manifest
@@ -0,0 +1,5 @@
+AUX 50lookup-gentoo.el 155 BLAKE2B b6b3c5a64fc880aa261a632d8f14f8bc6cd1e94b9d0f03ede917fc4eb88a6203d71a0d71a92c4ce51080adf54f7740397038378f631ad1a7dc6dab126f1b8189 SHA512 021e3bd99a25974788966d840cf5ce9359447c1aa331b9ef517aef23c4dc79581539bfd61a5f35f92551a4c189a64867fbf173212d28172e379da3532c1a9694
+AUX lookup-1.4.1-garbage-char.patch 283 BLAKE2B f69000bc367024bb71d14e5d687b4159f810779a524712870e3f25ebbb1db8711b7d94495659e0faee46bf640a7d2707a921f07a181155d542d8d9fc1f67dc55 SHA512 7e338e2184454579f2e5675e9b969805bd8954fa51fa55a42b62a58094f1f9a1760f1430cb61916bdfd999428f06705f555b6325c993edad7b119e7083325e11
+DIST lookup-1.4.1.tar.gz 346391 BLAKE2B 4de52e0bf444e4822408db580f1aacbeb8a42ea1492eda2c7678f1838615da00a370b1d12efdf0ff1fef4e81302426245e0c2411f42bf17667966c90f8b39cbb SHA512 a28a770ba58f07db5a7b2452792fc0e83b74e3b45556e84a9729c73773df661dbb7d356c1f7be803feb66f23e154aa825dab610f841bbe655bc76bd7120370bf
+EBUILD lookup-1.4.1.ebuild 720 BLAKE2B 713e5e5ac686f549a819c1b596e750ea632e81f1b2bf0ae7bccbed89f5c3c02c933111ae6a08db4eba69ea52b75cf907bf37244e3c383004a72fd53bf09e0f1b SHA512 b03163a1cc77f9e926d04e9260748e64f17aa434d011aa13f1c88123064feba5cb922edc8b06e7a15c2411a5bbeaf0d530c41c56f106ad6237243c61f5e80173
+MISC metadata.xml 375 BLAKE2B 022df13d1d586579ed08af80b893ce2a1a9d1275720ec5d447efca002dd05a5544eaa6c1f01a5d6df2c0e7cf594eacf6a0c1fb840989674f8af537e1468ec6ee SHA512 24ea62246bc2d2c433dd071cf9906fe2f0c9dd834ba4d5bfadbbefcb9d47a063cd07da9c6756043c296c2ae56da39f18714416dab862d5f36fbd2f6100dc663b
diff --git a/app-emacs/lookup/files/50lookup-gentoo.el b/app-emacs/lookup/files/50lookup-gentoo.el
new file mode 100644
index 000000000000..9ae8d93a847c
--- /dev/null
+++ b/app-emacs/lookup/files/50lookup-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'lookup "lookup" nil t)
+(autoload 'lookup-region "lookup" nil t)
+(autoload 'lookup-pattern "lookup" nil t)
diff --git a/app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch b/app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch
new file mode 100644
index 000000000000..7c9a3bea9152
--- /dev/null
+++ b/app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch
@@ -0,0 +1,8 @@
+--- lookup-1.4.1-orig/lisp/ndic.el
++++ lookup-1.4.1/lisp/ndic.el
+@@ -1,4 +1,4 @@
+-e;;; ndic.el --- Lookup by free dictionaries
++;;; ndic.el --- Lookup by free dictionaries
+ ;; Copyright (C) 1999 Lookup Development Team <lookup@ring.gr.jp>
+
+ ;; Author: Keisuke Nishida <kei@psn.net>
diff --git a/app-emacs/lookup/lookup-1.4.1.ebuild b/app-emacs/lookup/lookup-1.4.1.ebuild
new file mode 100644
index 000000000000..77d227163e10
--- /dev/null
+++ b/app-emacs/lookup/lookup-1.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="An interface to search CD-ROM books and network dictionaries"
+HOMEPAGE="http://openlab.jp/edict/lookup/"
+SRC_URI="http://openlab.jp/edict/lookup/dist/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+ELISP_PATCHES="${P}-garbage-char.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-lispdir="${EPREFIX}${SITELISP}/${PN}"
+}
+
+src_compile() {
+ # parallel make fails with Emacs deadlock
+ emake -j1
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/app-emacs/lookup/metadata.xml b/app-emacs/lookup/metadata.xml
new file mode 100644
index 000000000000..c59c7fc25206
--- /dev/null
+++ b/app-emacs/lookup/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+</maintainer>
+<stabilize-allarches/>
+</pkgmetadata>