| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-1.6.ebuild,v 1.8 2012/08/03 15:20:35 hwoarang Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit eutils toolchain-funcs
|
| 8 |
|
| 9 |
DESCRIPTION="Your basic line editor"
|
| 10 |
HOMEPAGE="http://www.gnu.org/software/ed/"
|
| 11 |
SRC_URI="mirror://gnu/ed/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND="sys-apps/texinfo"
|
| 19 |
|
| 20 |
src_prepare() {
|
| 21 |
epatch "${FILESDIR}"/${PN}-1.5-build.patch
|
| 22 |
}
|
| 23 |
|
| 24 |
src_configure() {
|
| 25 |
tc-export CC
|
| 26 |
# custom configure script ... econf wont work
|
| 27 |
./configure \
|
| 28 |
--prefix="${EPREFIX}"/ \
|
| 29 |
--datadir="${EPREFIX}"/usr/share
|
| 30 |
}
|