summaryrefslogtreecommitdiff
path: root/app-editors/lpe
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 /app-editors/lpe
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/lpe')
-rw-r--r--app-editors/lpe/Manifest6
-rw-r--r--app-editors/lpe/files/lpe-1.2.6.13-make-382.patch23
-rw-r--r--app-editors/lpe/lpe-1.2.6.13.ebuild49
-rw-r--r--app-editors/lpe/metadata.xml5
4 files changed, 83 insertions, 0 deletions
diff --git a/app-editors/lpe/Manifest b/app-editors/lpe/Manifest
new file mode 100644
index 000000000000..2deb360f2635
--- /dev/null
+++ b/app-editors/lpe/Manifest
@@ -0,0 +1,6 @@
+AUX lpe-1.2.6.13-make-382.patch 794 SHA256 95f7bdbd2f5394e1f1d9c14c88c3ebb96bb0e55976cf0711b4f01709ad7bb8f8 SHA512 1f40434c9f545fca31461f0fa5bf801478d9c3c96a1a24905425b5471d88ad03178ff72d9a8f9459f3ceb2000a3d857f0d9d38cd2fd745952707991101d8283f WHIRLPOOL 1a1e383dc8e8d5098387141b3382f14dfe78e07da58312e22ac9cc09f5af691d6c3960f949802539d37890158647aa2f22cb436bf414d77489a5f1a35a5d5dfc
+DIST lpe_1.2.6.13-0.1.tar.gz 600523 SHA256 7828147e8b8bcf518e6d7f2241b480fe3bbaa1285d3c7c74b8c7160222d76816 SHA512 f02769baca396285fe8f98c934f6274185d2bf8b08f3b007cbfa4e6aadb455abfb7cab13d53a3d1fa71ea0c29c4222784dcbc9a7508501c7d1839671503758ed WHIRLPOOL 885c1eaace95a47a78017a3ccf04c6cb053e14978f153270608175a6d3c5e0332d95556a0cafeb9f41abcaf36fe77acd36bf9ebf618bfbfe92de711cbf2262cc
+EBUILD lpe-1.2.6.13.ebuild 1221 SHA256 ac0133ef2051a2ec49fb23037af7dd0823804466ea4924861eb232ef60b6c60f SHA512 e5f9dc2c5d6011aa33f374de7fdf48a35b088d70d57266d62fc358366f2827a47e2fefa575baf6c3b9e051c7fb11bd20a16f8508b4f78ff4d9dd78e0e2c3bc33 WHIRLPOOL 4d226f81d668a0de24b8fc3056f1c52ecd6cc6dcb761a01821e7517773fa3007c8213dbf49154d99242938a8898c05ab1d165cbfd4dbc3ca40e2ef6dcc05f708
+MISC ChangeLog 2555 SHA256 058ae8956fd2b96bad228b497e89459d4732b50f510faaf77d648dca3dff07b9 SHA512 e06492a7753d4ec71dc5a23516c9d62d6bd5127f8bb2f92f48ede86a763e4ef15a62364a51d22e703033d806f1914cfb5f3cf7ea2282ec9a2b620a9bca19243d WHIRLPOOL 24f7c672771e0349012eff15fc9931f3a15abce15eedab958c359a27b41c1a67011073a030dbb5a8008f768971f22a8d59c5b090f8fae6eb1f481855cc1ab417
+MISC ChangeLog-2015 3144 SHA256 92c3b643128a0cbf104fd90352e5171d8a57429a03c532f8a7862681eefe45e1 SHA512 181f6a25b3ee0105a0f81b3fc5a5185af603817dc58a41969177fdaea6bdac0e3251f8d08e0cbaf75a91c68939ebac3168f2f34f115c75fc5fc05a8976065858 WHIRLPOOL e49137a3a15858837a7dc957dfcedaa729af1ea02c78905f8498fbe4398464e43462a1f847f7d83a2ac1b3e7f04d382168656a2b09f9adf1d89c90f0f83a5f06
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch b/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch
new file mode 100644
index 000000000000..f8d96ef087e9
--- /dev/null
+++ b/app-editors/lpe/files/lpe-1.2.6.13-make-382.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/335324
+
+--- intl/Makefile.in
++++ intl/Makefile.in
+@@ -202,12 +202,12 @@
+ # The dependency for intlh.inst is different in gettext and all other
+ # packages. Because we cannot you GNU make features we have to solve
+ # the problem while rewriting Makefile.in.
+-@GT_YES@intlh.inst: intlh.inst.in ../config.status
+-@GT_YES@ cd .. \
+-@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
+-@GT_YES@ $(SHELL) ./config.status
+-@GT_NO@.PHONY: intlh.inst
+-@GT_NO@intlh.inst:
++intlh.inst: intlh.inst.in ../config.status
++ cd .. \
++ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
++ $(SHELL) ./config.status
++.PHONY: intlh.inst
++intlh.inst:
+
+ # Tell versions [3.59,3.63) of GNU make not to export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/app-editors/lpe/lpe-1.2.6.13.ebuild b/app-editors/lpe/lpe-1.2.6.13.ebuild
new file mode 100644
index 000000000000..0f35e809adb0
--- /dev/null
+++ b/app-editors/lpe/lpe-1.2.6.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="a lightweight programmers editor"
+HOMEPAGE="https://packages.qa.debian.org/l/lpe.html"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}-0.1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-linux"
+IUSE="nls"
+
+RDEPEND=">=sys-libs/slang-2.2.4
+ >=sys-libs/ncurses-5.7-r7"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make-382.patch
+
+ # You should add PKG_CHECK_MODULES(NCURSES, ncurses) to configure.in and
+ # replace -lncurses in src/Makefile.am with $(NCURSES_LIBS)
+ # That is, if you need eautoreconf
+ sed -i \
+ -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs-only-l ncurses):" \
+ src/Makefile.in || die
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake \
+ libdir="${ED}/usr/$(get_libdir)" \
+ prefix="${ED}/usr" \
+ datadir="${ED}/usr/share" \
+ mandir="${ED}/usr/share/man" \
+ infodir="${ED}/usr/share/info" \
+ docdir="${ED}/usr/share/doc/${PF}" \
+ exdir="${ED}/usr/share/doc/${PF}/examples" \
+ install
+
+ prune_libtool_files --all
+}
diff --git a/app-editors/lpe/metadata.xml b/app-editors/lpe/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-editors/lpe/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>