diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-02-27 15:41:27 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-02-27 15:41:27 +0000 |
commit | 31bed56fbabb6d622b42830cc8bed5a9c36c2a2b (patch) | |
tree | 08a30eccb445d152381f8aeb1928fafe9961699e /sys-devel | |
parent | Changed prefix=${D}/usr to DESTDIR=${D} in install and added docs (diff) | |
download | historical-31bed56fbabb6d622b42830cc8bed5a9c36c2a2b.tar.gz historical-31bed56fbabb6d622b42830cc8bed5a9c36c2a2b.tar.bz2 historical-31bed56fbabb6d622b42830cc8bed5a9c36c2a2b.zip |
Dropped unused nls case
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/flex/files/digest-flex-2.5.4a-r3 | 1 | ||||
-rw-r--r-- | sys-devel/flex/flex-2.5.4a-r3.ebuild | 42 |
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 + +} + + |