summaryrefslogtreecommitdiff
blob: 42f618b1812403c6d40dacfd81b5fee73318daef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Peter Gavin <pbg1854@garnet.acns.fsu.edu>

A=emacs-20.7.tar.gz
S=${WORKDIR}/emacs-20.7
DESCRIPTION="An incredibly powerful, extensible text editor (X11 version)"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/emacs/emacs-20.7.tar.gz"
HOMEPAGE="http://www.gnu.org/software/emacs"
RDEPEND=">=sys-libs/ncurses-4.0
         >=sys-libs/glibc-2.0
         >=x11-base/xfree-4.0
         !app-editors/emacs-nogui
         !app-editors/emacs-motif"

DEPEND=">=sys-libs/ncurses-4.0
        >=sys-libs/glibc-2.0
        >=x11-base/xfree-4.0
        >=sys-devel/gettext-0.10.35"

src_compile() {
    cd ${S}
    try ./configure --prefix=/usr/X11R6 --libexecdir=/usr/X11R6/lib --host=${CHOST} --with-x
    try make
}

src_install () {
    cd ${S}
    try make prefix=${D}/usr/X11R6 libexecdir=${D}/usr/X11R6/lib install
    dodoc BUGS ChangeLog README
    gzip -9 ${D}/usr/X11R6/info/*
}