summaryrefslogtreecommitdiff
blob: a5a002e08832258fccb45aad5e5ffe68a63f91a9 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/wml-2.0.9.ebuild,v 1.4 2003/02/13 10:32:04 vapier Exp $

IUSE=""

S=${WORKDIR}/${P}
DESCRIPTION="Website META Language"
SRC_URI="http://www.engelschall.com/sw/wml/distrib/${P}.tar.gz"
HOMEPAGE="http://www.engelschall.com/sw/wml/"
DEPEND=">=sys-devel/perl-5.6.1-r3"
LICENSE="GPL-2"
KEYWORDS="~x86 ~sparc "
SLOT="0"

src_compile() {
	# 2002-11-11: karltk@gentoo.org
	# It barfs if CFLAGS is set. Dunno why.
	# It'll default to -O2, which is probably safest.
	unset CFLAGS
	unset CC
#	econf || die "./configure failed"
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info || die "./configure failed"
	emake || die
}

src_install () {
	einstall || die
	dodoc ANNOUNCE BUGREPORT C* INSTALL MANIFEST README* SUPPORT VERSION*
}