summaryrefslogtreecommitdiff
blob: f3fec3ef93892dc014d486b16b9866417cbecf94 (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
# Copyright 2004-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sdf2-bundle/sdf2-bundle-2.1.ebuild,v 1.2 2004/06/11 18:13:07 dholm Exp $

DESCRIPTION="Advanced syntax definition formalism"
HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/SDF2"
SRC_URI="ftp://ftp.stratego-language.org/pub/stratego/sdf2/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=dev-libs/aterm-2.1"
S=${WORKDIR}/${P}

src_compile() {
	oldCFLAGS="${CFLAGS}"
	CFLAGS=""
	econf || die "Failed to configure"
	CFLAGS=${oldCFLAGS}
	make || die "Failed to compile"
}

src_install() {
	make DESTDIR=${D} install || die "Failed to install"
}