summaryrefslogtreecommitdiff
path: root/app-office/eqe
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/eqe')
-rw-r--r--app-office/eqe/Manifest6
-rw-r--r--app-office/eqe/eqe-1.3.0.ebuild30
-rw-r--r--app-office/eqe/files/eqe-1.3.0-Makefile.patch42
-rw-r--r--app-office/eqe/metadata.xml8
4 files changed, 86 insertions, 0 deletions
diff --git a/app-office/eqe/Manifest b/app-office/eqe/Manifest
new file mode 100644
index 000000000000..1da1cc145746
--- /dev/null
+++ b/app-office/eqe/Manifest
@@ -0,0 +1,6 @@
+AUX eqe-1.3.0-Makefile.patch 2646 SHA256 2d7eddd31251319ca50519f99912534fa02b7caad3fd07409c4f748c4d90c467 SHA512 9b9ac1ab789c54a0c3fcf51baaef112437e56b1d876cf231ecee6ee03054da4d03d53ba305239ff321484af0ab90bbf4f859a8a0fc063e3519b8363ab800963f WHIRLPOOL 0ef3073099512a253e561ae3757fb251c646008957c0a7560f7d4685d109498be372e849a95a85c82a0b16d0d96e85023c6072d0aac4e8cd6101cfa228b838f6
+DIST eqe-1.3.0.tar.bz2 98707 SHA256 8dd320985ebb7763295bf04b3664e0fb8094e3c398e468fddf225b13ee77f4e5 SHA512 6a1ffc1e9f4ec72ebeeb402f35857050b8f64b6fa60d9658667bad70047300c3331a1ac1ea0f0541dca9814bf55ed6e7cdd85513a24625f7cdddf3005b0a5d3d WHIRLPOOL 01e72d83d2239a34078ae30a462d56d12c4650c4cf05ccb9dc744dfeb7e14bb3b837a9d51c6914f34357322522c5d3ab0bf757295faddfa9ddb4420ff9396ffe
+EBUILD eqe-1.3.0.ebuild 660 SHA256 98bf166c42f5d1c8596df74a5960a4ff33ac600b2fe4d42ed395bd43dd4fb64b SHA512 44c96e02ca9b3cf201041ac53c81acc1ad0ecab89ab825c14a1d9c25bd38f74b3b718f0a81e53379809dee5bd05efead88889bce9dcc9e7c097f1fac99891e45 WHIRLPOOL 0d3521428c6ac7efd89b1890e5cd2e0a01b4ee0073aaf468e9c3a2a38bd1b9c3e1a949a520eb8e685f8bad7007ede0982fdd8eae07de7db75815d841f910f71b
+MISC ChangeLog 2450 SHA256 2d5f70002109c0633e0cf89896fb57397e74a413e4f1ce3dc8550a8c494ccafd SHA512 9f6de4b18e7ea6e7683285b8aacb8791866aa38ea185b7366f688fc16265fae59e854cf6c7f4e022ed318abcc6537bae83e27d821668160734309000fe51d695 WHIRLPOOL 23af25cdaf297c52951386342f28846c5f7eac9747b5536d093c8d08600a5662f3393abc8825ca340b7c4f3dc08b5e8eb41766659eea20288fa2b96bc39a65a0
+MISC ChangeLog-2015 1475 SHA256 199a5e86928c70bd6a754da23cfa65137db84a10e7a4c756b45d42e62fcdb50f SHA512 d165cf851ed02834825a0ed58e473b7a885a0f5104aa596e11bdeff3ea95666b530e29a6386e9e08c032a351ae7f2227810458a1a482ce6dc9762b064b7007ad WHIRLPOOL df5929e8ee179406e3527a1fdb7ed956389fab8834e0099b9754a54fc8f6c52da0be41c652a56fbda30b8af267eba5c196ed6a7c02e0064085b0835460fa5520
+MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08
diff --git a/app-office/eqe/eqe-1.3.0.ebuild b/app-office/eqe/eqe-1.3.0.ebuild
new file mode 100644
index 000000000000..8828f8641ea3
--- /dev/null
+++ b/app-office/eqe/eqe-1.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="A small LaTeX editor that produces images, with drag and drop support"
+HOMEPAGE="http://rlehy.free.fr/"
+SRC_URI="http://rlehy.free.fr/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="dev-perl/Gtk2
+ dev-perl/File-Slurp
+ dev-perl/Template-Toolkit
+ media-gfx/imagemagick
+ virtual/latex-base"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Fix install loction and conform to the Gentoo way
+ epatch "${FILESDIR}"/${P}-Makefile.patch || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
diff --git a/app-office/eqe/files/eqe-1.3.0-Makefile.patch b/app-office/eqe/files/eqe-1.3.0-Makefile.patch
new file mode 100644
index 000000000000..0b8094a65022
--- /dev/null
+++ b/app-office/eqe/files/eqe-1.3.0-Makefile.patch
@@ -0,0 +1,42 @@
+diff -urN eqe-1.3.0.old/Makefile eqe-1.3.0/Makefile
+--- eqe-1.3.0.old/Makefile 2006-02-04 15:54:54.000000000 +0100
++++ eqe-1.3.0/Makefile 2006-02-14 10:52:04.000000000 +0100
+@@ -1,7 +1,7 @@
+ # Ronan Le Hy, 2005
+ # eqe installer
+
+-PREFIX=/usr/local
++PREFIX=/usr
+ DESTDIR=
+ PACKAGE_NAME=eqe
+ VERSION=1.3.0
+@@ -21,19 +21,17 @@
+ pod2man doc/eqedit.pod $(DESTDIR)/$(PREFIX)/share/man/man1/eqedit.1
+ gzip -f --best $(DESTDIR)/$(PREFIX)/share/man/man1/eqe.1
+ gzip -f --best $(DESTDIR)/$(PREFIX)/share/man/man1/eqedit.1
+- mkdir -p $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/
+- cp changelog $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/changelog
+- gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/changelog
+- cp README $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/README
+- gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/README
+- cp FAQ $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/FAQ
+- gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/FAQ
+- cp TODO $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/TODO
+- cp copyright $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/copyright
+- cp GPL.txt $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/GPL.txt
++ mkdir -p $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/
++ cp changelog $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/changelog
++ gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/changelog
++ cp README $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/README
++ gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/README
++ cp FAQ $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/FAQ
++ gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/FAQ
++ cp TODO $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/TODO
++ gzip -f --best $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/TODO
+ chmod 644 $(DESTDIR)/$(PREFIX)/share/man/man1/eqe.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/eqedit.1.gz
+- chmod 644 $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/README.gz $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/changelog.gz $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/TODO $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/copyright
+- chmod 644 $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)/GPL.txt
++ chmod 644 $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/README.gz $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/changelog.gz $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/TODO.gz $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE_NAME)-$(VERSION)/FAQ.gz
+
+ install-templates:
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/eqe/
diff --git a/app-office/eqe/metadata.xml b/app-office/eqe/metadata.xml
new file mode 100644
index 000000000000..13170c3184d8
--- /dev/null
+++ b/app-office/eqe/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 type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+</pkgmetadata>