blob: d26f4c632f5e89d1ad51a4a917a959bf8240da44 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/yacc/yacc-1.9.1-r1.ebuild,v 1.1 2000/08/13 12:10:49 achim Exp $
P=yacc-1.9.1
A=${P}.tar.Z
S=${WORKDIR}/${P}
CATEGORY="dev-util"
DESCRIPTION="Yacc"
SRC_URI="ftp://metalab.unc.edu/pub/Linux/devel/compiler-tools/${A}"
src_unpack () {
unpack ${A}
cd ${S}
cp Makefile Makefile.orig
sed -e "s:-O:${CFLAGS}:" Makefile.orig > Makefile
}
src_compile() {
make clean
make
}
src_install() {
into /usr
dobin yacc
doman yacc.1
dodoc 00README* ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY NOTES README*
ln -s /usr/lib/cvs/contrib ${D}/usr/doc/${P}/contrib
}
|