summaryrefslogtreecommitdiff
blob: 9f1ce844db5866de8184e70696f15b17d7298433 (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
34
35
36
37
38
39
40
41
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/manedit/manedit-0.5.6.ebuild,v 1.6 2002/12/09 04:17:44 manson Exp $

DESCRIPTION="Man page editor using XML tags"
HOMEPAGE="http://wolfpack.twu.net/ManEdit"
KEYWORDS="x86 sparc "
SLOT="0"
LICENSE="GPL-2"

SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"
S=${WORKDIR}/${P}


DEPEND="virtual/glibc
	virtual/x11
	x11-libs/gtk+
	sys-libs/zlib
	sys-apps/bzip2"


src_compile() {

	# It autodetects x86 processors and adds the -march option itself
	# but we don't actually want that.
        env CFLAGS="${CFLAGS}" ./configure Linux \
	        --prefix=/usr \
	        --enable=bzip2 \
	        --enable=zlib \
	        --disable="arch-i486" \
	        --disable="arch-i586" \
	        --disable="arch-i686" \
	        --disable="arch-pentiumpro" || die "Bad Configure"
	
	emake || die "Compile Error"
}

src_install() {
	make PREFIX=${D} install || die "make install failed."
	dodoc AUTHORS LICENSE README
}