From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-editors/lpe/Manifest | 4 ++ app-editors/lpe/files/lpe-1.2.6.13-make-382.patch | 23 +++++++++++ app-editors/lpe/lpe-1.2.6.13.ebuild | 49 +++++++++++++++++++++++ app-editors/lpe/metadata.xml | 5 +++ 4 files changed, 81 insertions(+) create mode 100644 app-editors/lpe/Manifest create mode 100644 app-editors/lpe/files/lpe-1.2.6.13-make-382.patch create mode 100644 app-editors/lpe/lpe-1.2.6.13.ebuild create mode 100644 app-editors/lpe/metadata.xml (limited to 'app-editors/lpe') diff --git a/app-editors/lpe/Manifest b/app-editors/lpe/Manifest new file mode 100644 index 000000000000..e417bdaa32b5 --- /dev/null +++ b/app-editors/lpe/Manifest @@ -0,0 +1,4 @@ +AUX lpe-1.2.6.13-make-382.patch 794 BLAKE2B 87248819ab6b670a752c394070bca60aaf916deabc0b9ee8e5a8a43a8aa2b8d2bac6b623edbecf1a3937263f2adde3db058c36e49544137cc330746ff05ba8af SHA512 1f40434c9f545fca31461f0fa5bf801478d9c3c96a1a24905425b5471d88ad03178ff72d9a8f9459f3ceb2000a3d857f0d9d38cd2fd745952707991101d8283f +DIST lpe_1.2.6.13-0.1.tar.gz 600523 BLAKE2B 8866aff63276d5e39ed48b4d9e8b9a23d541c13e196815c29586df83f8c6b5895a8dde8fb16b0929bffc49416907d74d48fdbc5ce736a855f2d2daad6472fb96 SHA512 f02769baca396285fe8f98c934f6274185d2bf8b08f3b007cbfa4e6aadb455abfb7cab13d53a3d1fa71ea0c29c4222784dcbc9a7508501c7d1839671503758ed +EBUILD lpe-1.2.6.13.ebuild 1224 BLAKE2B 19d4804320a9e5bd902ff9a8af8d5f40d44935454d95d083bbf559242f8a479ab7daa3867f61d70339b01c0f3316a6c767044ef1543cd8f818462ec6fbca8d6b SHA512 418d95c8877cfb1c3c0217f3a7e22d36bd4b3e74744eae24f86a840f2f6f821c3d819ae480c2227439129bd3bac96aa2754c54117c854261f4e874f3d1bfc117 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 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..bd88d5531da9 --- /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:0=" +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 @@ + + + + + -- cgit v1.2.3