summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-27 15:41:27 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-27 15:41:27 +0000
commitaaa34fc15b83ef01be39c61d6453528e6228e64a (patch)
treedee5cc5f88eceeb2f19efafa5a086621f6bbaabc /sys-devel/flex
parentChanged prefix=${D}/usr to DESTDIR=${D} in install and added docs (diff)
downloadgentoo-2-aaa34fc15b83ef01be39c61d6453528e6228e64a.tar.gz
gentoo-2-aaa34fc15b83ef01be39c61d6453528e6228e64a.tar.bz2
gentoo-2-aaa34fc15b83ef01be39c61d6453528e6228e64a.zip
Dropped unused nls case
Diffstat (limited to 'sys-devel/flex')
-rw-r--r--sys-devel/flex/files/digest-flex-2.5.4a-r31
-rw-r--r--sys-devel/flex/flex-2.5.4a-r3.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-devel/flex/files/digest-flex-2.5.4a-r3 b/sys-devel/flex/files/digest-flex-2.5.4a-r3
new file mode 100644
index 000000000000..832a6789f10a
--- /dev/null
+++ b/sys-devel/flex/files/digest-flex-2.5.4a-r3
@@ -0,0 +1 @@
+MD5 bd8753d0b22e1f4ec87a553a73021adf flex-2.5.4a.tar.gz
diff --git a/sys-devel/flex/flex-2.5.4a-r3.ebuild b/sys-devel/flex/flex-2.5.4a-r3.ebuild
new file mode 100644
index 000000000000..b26dc0dc6b05
--- /dev/null
+++ b/sys-devel/flex/flex-2.5.4a-r3.ebuild
@@ -0,0 +1,42 @@
+# 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/sys-devel/flex/flex-2.5.4a-r3.ebuild,v 1.1 2001/02/27 15:41:27 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/flex-2.5.4
+DESCRIPTION="GNU lexical analyser generator"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/non-gnu/flex/${A}
+ ftp://prep.ai.mit.edu/non-gnu/flex/${A}"
+HOMEPAGE="http://www.gnu.org/software/flex/flex.html"
+
+DEPEN="virtual/glibc"
+RDEPEND="virtual/glibc"
+
+
+src_compile() {
+
+ try ./configure --prefix=/usr --host=${CHOST}
+
+ if [ -z "`use static`" ]
+ then
+ try make ${MAKEOPTS}
+ else
+ try make ${MAKEOPTS} LDFLAGS=-static
+ fi
+
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man/man1 install
+ if [ -z "`use build`" ]
+ then
+ dodoc COPYING NEWS README
+ else
+ rm -rf ${D}/usr/share/man ${D}/usr/include ${D}/usr/lib
+ fi
+
+}
+
+