blob: 10cc2063943a14d9abb64aaa323aad54f0ef7607 (
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
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2004 Gentoo Foundation
# 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.16 2004/07/02 04:32:57 eradicator Exp $
inherit fixheadtails eutils
DESCRIPTION="Website META Language"
HOMEPAGE="http://www.engelschall.com/sw/wml/"
SRC_URI="http://www.engelschall.com/sw/wml/distrib/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc s390"
IUSE=""
DEPEND="dev-lang/perl
>=sys-devel/autoconf-2.58
sys-apps/gawk
sys-apps/grep
sys-devel/bison
sys-devel/gcc
virtual/libc
sys-devel/gettext"
RDEPEND="virtual/libc
sys-devel/gettext"
src_unpack() {
unpack ${A}
ht_fix_all
cd ${S}
epatch ${FILESDIR}/${PV}-fix-configure.in.patch
export WANT_AUTOCONF='2.5'
for d in `find ${S} -name configure -mindepth 2 -printf '%h '` ; do
cd ${d}
autoconf || die "autoconf in ${d}"
done
}
src_compile() {
if has_version '<sys-devel/autoconf-2.58' ; then
unset CC
unset CFLAGS
fi
econf || die "./configure failed"
emake || die "emake failed"
}
src_install() {
einstall || die
dodoc ANNOUNCE BUGREPORT C* INSTALL MANIFEST README* SUPPORT VERSION*
}
|