| 1 |
# Copyright 1999-2011 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.5.ebuild,v 1.3 2011/08/15 03:11:06 vapier Exp $
|
| 4 |
|
| 5 |
EAPI="3"
|
| 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 ~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 |
RDEPEND=""
|
| 20 |
|
| 21 |
src_prepare() {
|
| 22 |
epatch "${FILESDIR}"/${PN}-1.5-build.patch
|
| 23 |
}
|
| 24 |
|
| 25 |
src_configure() {
|
| 26 |
tc-export CC
|
| 27 |
# custom configure script ... econf wont work
|
| 28 |
./configure \
|
| 29 |
--prefix="${EPREFIX}"/ \
|
| 30 |
--datadir="${EPREFIX}"/usr/share
|
| 31 |
}
|
| 32 |
|
| 33 |
src_install() {
|
| 34 |
emake install DESTDIR="${D}" || die
|
| 35 |
dodoc AUTHORS ChangeLog NEWS README TODO
|
| 36 |
}
|