diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-editors/ee/ee-1.5.2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-editors/ee/ee-1.5.2.ebuild')
-rw-r--r-- | app-editors/ee/ee-1.5.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-editors/ee/ee-1.5.2.ebuild b/app-editors/ee/ee-1.5.2.ebuild new file mode 100644 index 000000000000..fc1aec479af4 --- /dev/null +++ b/app-editors/ee/ee-1.5.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="An easy to use text editor. A subset of aee" +#HOMEPAGE="http://mahon.cwx.net/ http://www.users.uswest.net/~hmahon/" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.src.tgz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND="!app-editors/ersatz-emacs" +S="${WORKDIR}/easyedit-${PV}" + +PATCHES=( + "${FILESDIR}"/${PN}-init-location.patch + "${FILESDIR}"/${PN}-signal.patch + "${FILESDIR}"/${PN}-Wformat-security.patch +) +DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg ) + +src_prepare() { + sed -i \ + -e "s/make -/\$(MAKE) -/g" \ + -e "/^buildee/s/$/ localmake/" \ + Makefile + + sed -i \ + -e "s/\tcc /\t\\\\\$(CC) /" \ + -e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \ + -e "/other_cflag/s/ *-s//" \ + create.make + + default +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + einstalldocs + keepdir /usr/share/${PN} +} |