/[gentoo-x86]/app-editors/jove/jove-4.16.0.73.ebuild
Gentoo

Contents of /app-editors/jove/jove-4.16.0.73.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Feb 28 17:07:15 2013 UTC (7 years, 4 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
Don't call pkg-config directly, in order not to break cross compilation.

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/jove/jove-4.16.0.73.ebuild,v 1.7 2013/02/28 07:12:41 ulm Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Jonathan's Own Version of Emacs - a light emacs-like editor without LISP bindings"
10 HOMEPAGE="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/"
11 SRC_URI="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/${PN}${PV}.tgz"
12
13 LICENSE="JOVE"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE="doc"
17
18 RDEPEND="sys-libs/ncurses"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 S="${WORKDIR}/${PN}${PV}"
23
24 src_prepare() {
25 epatch "${FILESDIR}/${PN}-4.16.0.70.3.1-getline.patch"
26 epatch "${FILESDIR}/${P}-build.patch"
27 epatch "${FILESDIR}/${P}-sendmail.patch"
28 epatch "${FILESDIR}/${P}-doc.patch"
29 }
30
31 src_compile() {
32 tc-export CC
33
34 emake OPTFLAGS="${CFLAGS}" \
35 SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
36 TERMCAPLIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
37
38 if use doc; then
39 # Full manual (*not* man page)
40 emake doc/jove.man
41 fi
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install
46 keepdir /var/lib/jove/preserve
47
48 dodoc README
49 if use doc; then
50 dodoc doc/jove.man
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20