summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-17 17:37:42 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-17 17:37:42 +0000
commiteb835485bc55dda61e96312c5e64adb8e8da8e2e (patch)
treea310bee0297082a4f2e960cf5bbc5a7fe33058d8 /sys-devel/bison
parentnew version (diff)
downloadgentoo-2-eb835485bc55dda61e96312c5e64adb8e8da8e2e.tar.gz
gentoo-2-eb835485bc55dda61e96312c5e64adb8e8da8e2e.tar.bz2
gentoo-2-eb835485bc55dda61e96312c5e64adb8e8da8e2e.zip
new version
Diffstat (limited to 'sys-devel/bison')
-rw-r--r--sys-devel/bison/bison-1.30.ebuild51
-rw-r--r--sys-devel/bison/files/digest-bison-1.301
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-devel/bison/bison-1.30.ebuild b/sys-devel/bison/bison-1.30.ebuild
new file mode 100644
index 000000000000..5b1739f80637
--- /dev/null
+++ b/sys-devel/bison/bison-1.30.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.30.ebuild,v 1.1 2001/12/17 17:37:42 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A yacc-compatible parser generator"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/bison/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
+
+DEPEND="virtual/glibc
+ nls? ( sys-devel/gettext )"
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use nls`" ]
+ then
+ myconf="--disable-nls"
+ fi
+
+ ./configure --prefix=/usr ${myconf} --datadir=/usr/share \
+ --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST} || die
+
+ if [ -z "`use static`" ]
+ then
+ emake ${MAKEOPTS} || die
+ else
+ emake ${MAKEOPTS} LDFLAGS=-static || die
+ fi
+
+}
+
+src_install() {
+
+ make prefix=${D}/usr datadir=${D}/usr/share \
+ mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die
+
+ if [ -z "`use build`" ]
+ then
+ dodoc COPYING AUTHORS NEWS ChangeLog README REFERENCES OChangeLog
+ docinto txt
+ dodoc doc/FAQ
+ else
+ rm -rf ${D}/usr/share/man ${D}/usr/share/info
+ fi
+
+}
+
+
diff --git a/sys-devel/bison/files/digest-bison-1.30 b/sys-devel/bison/files/digest-bison-1.30
new file mode 100644
index 000000000000..a3b09c1c4001
--- /dev/null
+++ b/sys-devel/bison/files/digest-bison-1.30
@@ -0,0 +1 @@
+MD5 9f86a4166cf9146d0db1ec9a663d7d81 bison-1.30.tar.gz 663552