Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: libidn-1.14.ebuild ChangeLog
Date: Sat, 02 May 2009 14:02:05
Message-Id: E1M0Fn0-0006EP-VT@stork.gentoo.org
1 jer 09/05/02 14:02:02
2
3 Modified: ChangeLog
4 Added: libidn-1.14.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc31/cvs/Linux i686)
8
9 Revision Changes Path
10 1.92 net-dns/libidn/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.92&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.92&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.91&r2=1.92
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
19 retrieving revision 1.91
20 retrieving revision 1.92
21 diff -u -r1.91 -r1.92
22 --- ChangeLog 22 Mar 2009 21:00:54 -0000 1.91
23 +++ ChangeLog 2 May 2009 14:02:02 -0000 1.92
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-dns/libidn
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.91 2009/03/22 21:00:54 truedfx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.92 2009/05/02 14:02:02 jer Exp $
29 +
30 +*libidn-1.14 (02 May 2009)
31 +
32 + 02 May 2009; Jeroen Roovers <jer@g.o> +libidn-1.14.ebuild:
33 + Version bump.
34
35 22 Mar 2009; Harald van Dijk <truedfx@g.o> libidn-1.13.ebuild:
36 Fix typo in emacs filename (#263390)
37
38
39
40 1.1 net-dns/libidn/libidn-1.14.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.14.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.14.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libidn-1.14.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.14.ebuild,v 1.1 2009/05/02 14:02:02 jer Exp $
50
51 inherit java-pkg-opt-2 mono elisp-common
52
53 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
54 HOMEPAGE="http://www.gnu.org/software/libidn/"
55 SRC_URI="mirror://gnu/libidn/${P}.tar.gz"
56
57 LICENSE="LGPL-2.1 GPL-3"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="doc emacs java mono nls"
61
62 COMMON_DEPEND="emacs? ( virtual/emacs )
63 mono? ( >=dev-lang/mono-0.95 )"
64 DEPEND="${COMMON_DEPEND}
65 nls? ( >=sys-devel/gettext-0.17 )
66 java? ( >=virtual/jdk-1.4 dev-java/gjdoc )"
67 RDEPEND="${COMMON_DEPEND}
68 nls? ( virtual/libintl )
69 java? ( >=virtual/jre-1.4 )"
70
71 SITEFILE=50${PN}-gentoo.el
72
73 src_unpack() {
74 unpack ${A}
75 # bundled, with wrong bytecode
76 rm "${S}/java/${P}.jar" || die
77 }
78
79 src_compile() {
80 econf \
81 $(use_enable nls) \
82 $(use_enable java) \
83 $(use_enable mono csharp mono) \
84 --with-lispdir="${SITELISP}/${PN}" \
85 || die
86
87 emake || die
88
89 if use emacs; then
90 elisp-compile src/*.el || die
91 fi
92 }
93
94 src_install() {
95 emake install DESTDIR="${D}" || die
96 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO || die
97
98 if use emacs; then
99 # *.el are installed by the build system
100 elisp-install ${PN} src/*.elc || die
101 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
102 else
103 rm -rf "${D}/usr/share/emacs"
104 fi
105
106 if use doc ; then
107 dohtml -r doc/reference/html/* || die
108 fi
109
110 if use java ; then
111 java-pkg_newjar java/${P}.jar ${PN}.jar || die
112 rm -rf "${D}"/usr/share/java || die
113
114 if use doc ; then
115 java-pkg_dojavadoc doc/java
116 fi
117 fi
118 }
119
120 pkg_postinst() {
121 use emacs && elisp-site-regen
122 }
123
124 pkg_postrm() {
125 use emacs && elisp-site-regen
126 }