You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/moe/moe-1.7.ebuild

37 lines
712 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs unpacker
DESCRIPTION="A powerful and user-friendly console text editor"
HOMEPAGE="https://www.gnu.org/software/moe/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.lz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
sys-libs/ncurses:0=
"
DEPEND="
$(unpacker_src_uri_depends)
${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
tc-export CXX PKG_CONFIG
sed -i \
-e "/^CXXFLAGS=/d" \
-e "/^LDFLAGS=/d" \
-e "/^CXX=/d" \
configure || die "sed on configure failed"
epatch_user
epatch "${FILESDIR}/${PN}-1.6-tinfo.patch"
}