summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-03-29 02:44:21 +0000
committerTim Harder <radhermit@gentoo.org>2014-03-29 02:44:21 +0000
commit7a3ee00cb7a7cf730b89e80724732ee0f57bf0a6 (patch)
tree5dc979a12a4eabbf8a925cce6e7e35dcc703cefb /sys-devel
parentUnmask abi_x86_x32 for all amd64 systems. (diff)
downloadgentoo-2-7a3ee00cb7a7cf730b89e80724732ee0f57bf0a6.tar.gz
gentoo-2-7a3ee00cb7a7cf730b89e80724732ee0f57bf0a6.tar.bz2
gentoo-2-7a3ee00cb7a7cf730b89e80724732ee0f57bf0a6.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/flex/ChangeLog7
-rw-r--r--sys-devel/flex/flex-2.5.39.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog
index 09b2476a167b..4348197f276b 100644
--- a/sys-devel/flex/ChangeLog
+++ b/sys-devel/flex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/flex
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.115 2014/03/28 15:37:24 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.116 2014/03/29 02:44:21 radhermit Exp $
+
+*flex-2.5.39 (29 Mar 2014)
+
+ 29 Mar 2014; Tim Harder <radhermit@gentoo.org> +flex-2.5.39.ebuild:
+ Version bump.
28 Mar 2014; Christoph Junghans <ottxor@gentoo.org> flex-2.5.38-r1.ebuild:
added prefix keywords
diff --git a/sys-devel/flex/flex-2.5.39.ebuild b/sys-devel/flex/flex-2.5.39.ebuild
new file mode 100644
index 000000000000..5eb90ece6f56
--- /dev/null
+++ b/sys-devel/flex/flex-2.5.39.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.39.ebuild,v 1.1 2014/03/29 02:44:21 radhermit Exp $
+
+EAPI="4"
+
+inherit flag-o-matic
+
+DESCRIPTION="The Fast Lexical Analyzer"
+HOMEPAGE="http://flex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/flex/${P}.tar.xz"
+
+LICENSE="FLEX"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static test"
+
+# We want bison explicitly and not yacc in general #381273
+RDEPEND="sys-devel/m4"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ nls? ( sys-devel/gettext )
+ test? ( sys-devel/bison )"
+
+src_configure() {
+ use static && append-ldflags -static
+ # Do not install shared libs #503522
+ econf \
+ --disable-shared \
+ $(use_enable nls) \
+ --docdir='$(datarootdir)/doc/'${PF}
+}
+
+src_install() {
+ default
+ dodoc ONEWS
+ find "${ED}" -name '*.la' -delete
+ rm "${ED}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die
+ dosym flex /usr/bin/lex
+}