From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/bison: ChangeLog bison-2.5.1.ebuild |
Date: | Wed, 06 Jun 2012 14:34:35 |
Message-Id: | 20120606143423.89AA02004B@flycatcher.gentoo.org |
1 | ssuominen 12/06/06 14:34:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bison-2.5.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha109/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.111 sys-devel/bison/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bison/ChangeLog?rev=1.111&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bison/ChangeLog?rev=1.111&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bison/ChangeLog?r1=1.110&r2=1.111 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v |
20 | retrieving revision 1.110 |
21 | retrieving revision 1.111 |
22 | diff -u -r1.110 -r1.111 |
23 | --- ChangeLog 24 May 2012 02:40:38 -0000 1.110 |
24 | +++ ChangeLog 6 Jun 2012 14:34:23 -0000 1.111 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-devel/bison |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.110 2012/05/24 02:40:38 vapier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.111 2012/06/06 14:34:23 ssuominen Exp $ |
30 | + |
31 | +*bison-2.5.1 (06 Jun 2012) |
32 | + |
33 | + 06 Jun 2012; Samuli Suominen <ssuominen@g.o> +bison-2.5.1.ebuild: |
34 | + Version bump. |
35 | |
36 | 24 May 2012; Mike Frysinger <vapier@g.o> bison-2.4.2.ebuild, |
37 | bison-2.5.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 sys-devel/bison/bison-2.5.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bison/bison-2.5.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bison/bison-2.5.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: bison-2.5.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-2.5.1.ebuild,v 1.1 2012/06/06 14:34:23 ssuominen Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | inherit flag-o-matic |
55 | |
56 | DESCRIPTION="A general-purpose (yacc-compatible) parser generator" |
57 | HOMEPAGE="http://www.gnu.org/software/bison/" |
58 | SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
63 | IUSE="nls static" |
64 | |
65 | RDEPEND=">=sys-devel/m4-1.4.16" |
66 | DEPEND="${RDEPEND} |
67 | sys-devel/flex |
68 | nls? ( sys-devel/gettext )" |
69 | |
70 | DOCS="AUTHORS ChangeLog-2012 NEWS README THANKS TODO" # ChangeLog-1998 PACKAGING README-alpha README-release |
71 | |
72 | src_configure() { |
73 | use static && append-ldflags -static |
74 | |
75 | econf \ |
76 | --disable-silent-rules \ |
77 | $(use_enable nls) |
78 | } |
79 | |
80 | src_install() { |
81 | default |
82 | |
83 | # This one is installed by dev-util/yacc |
84 | mv -v "${ED}"/usr/bin/yacc{,.bison} || die |
85 | mv -v "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die |
86 | |
87 | # We do not need liby.a |
88 | rm -r "${ED}"/usr/lib* || die |
89 | |
90 | # Move to documentation directory and leave compressing for EAPI>=4 |
91 | mv -v "${ED}"/usr/share/${PN}/README "${ED}"/usr/share/doc/${PF}/README.data |
92 | } |
93 | |
94 | pkg_postinst() { |
95 | local f="${EROOT}/usr/bin/yacc" |
96 | if [[ ! -e ${f} ]]; then |
97 | ln -s yacc.bison "${f}" |
98 | fi |
99 | } |
100 | |
101 | pkg_postrm() { |
102 | # clean up the dead symlink when we get unmerged #377469 |
103 | local f="${EROOT}/usr/bin/yacc" |
104 | if [[ -L ${f} && ! -e ${f} ]]; then |
105 | rm -f "${f}" |
106 | fi |
107 | } |