| # Copyright 1999-2018 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=5 |
| |
| inherit toolchain-funcs |
| |
| DESCRIPTION="Your basic line editor" |
| HOMEPAGE="https://www.gnu.org/software/ed/" |
| #SRC_URI="mirror://gnu/ed/${P}.tar.lz" |
| # Using gzip instead -- the filesize diff is small and lzip uncommon #545344 |
| SRC_URI="http://fossies.org/linux/privat/${P}.tar.gz" |
| |
| LICENSE="GPL-3" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="" |
| |
| DEPEND="sys-apps/texinfo" |
| RDEPEND="" |
| |
| src_configure() { |
| # Upstream configure script is moronic. |
| econf \ |
| CC="$(tc-getCC)" \ |
| CFLAGS="${CFLAGS}" \ |
| LDFLAGS="${CFLAGS} ${LDFLAGS}" \ |
| CPPFLAGS="${CPPFLAGS}" \ |
| --bindir="${EPREFIX}/bin" |
| } |