/[gentoo-x86]/sys-apps/ed/ed-1.0.ebuild
Gentoo

Contents of /sys-apps/ed/ed-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Oct 27 05:56:56 2008 UTC (5 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.7: +2 -2 lines
arm/s390/sh stable
(Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)

1 # Copyright 1999-2008 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.0.ebuild,v 1.7 2008/09/03 19:55:05 jer Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="Your basic line editor"
8 HOMEPAGE="http://www.gnu.org/software/ed/"
9 SRC_URI="mirror://gnu/ed/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
14 IUSE=""
15
16 DEPEND="sys-apps/texinfo"
17 RDEPEND=""
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22 epatch "${FILESDIR}"/${PN}-1.0-build.patch
23 }
24
25 src_compile() {
26 tc-export CC CXX
27 # custom configure script ... econf wont work
28 ./configure \
29 --prefix=/ \
30 --datadir=/usr/share \
31 ${EXTRA_ECONF} \
32 || die
33 emake || die
34 }
35
36 src_install() {
37 emake install DESTDIR="${D}" || die
38 dodoc AUTHORS ChangeLog NEWS README TODO
39 }

  ViewVC Help
Powered by ViewVC 1.1.20