Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: ChangeLog libidn-1.5.ebuild
Date: Fri, 29 Feb 2008 00:06:35
Message-Id: E1JUslk-00084O-HH@stork.gentoo.org
1 vapier 08/02/29 00:06:32
2
3 Modified: ChangeLog
4 Added: libidn-1.5.ebuild
5 Log:
6 Version bump #206906.
7 (Portage version: 2.2_pre2)
8
9 Revision Changes Path
10 1.74 net-dns/libidn/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 5 Feb 2008 11:04:00 -0000 1.73
23 +++ ChangeLog 29 Feb 2008 00:06:31 -0000 1.74
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-dns/libidn
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.73 2008/02/05 11:04:00 corsair Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.74 2008/02/29 00:06:31 vapier Exp $
30 +
31 +*libidn-1.5 (29 Feb 2008)
32 +
33 + 29 Feb 2008; Mike Frysinger <vapier@g.o> +libidn-1.5.ebuild:
34 + Version bump #206906.
35
36 05 Feb 2008; Markus Rothe <corsair@g.o> libidn-1.0-r1.ebuild:
37 Stable on ppc64
38
39
40
41 1.1 net-dns/libidn/libidn-1.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libidn-1.5.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.5.ebuild,v 1.1 2008/02/29 00:06:31 vapier Exp $
51
52 inherit java-pkg-opt-2 mono autotools elisp-common
53
54 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
55 HOMEPAGE="http://www.gnu.org/software/libidn/"
56 SRC_URI="ftp://alpha.gnu.org/pub/gnu/libidn/${P}.tar.gz"
57
58 LICENSE="LGPL-2.1 GPL-3"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="java doc emacs mono nls"
62
63 DEPEND="mono? ( >=dev-lang/mono-0.95 )
64 java? ( >=virtual/jdk-1.4 dev-java/gjdoc )"
65 RDEPEND="java? ( >=virtual/jre-1.4 )
66 mono? ( >=dev-lang/mono-0.95 )
67 emacs? ( virtual/emacs )"
68
69 src_compile() {
70 local myconf=" --disable-csharp"
71
72 use mono && myconf="--enable-csharp=mono"
73 use emacs && myconf="${myconf} --with-lispdir=${SITELISP}/${PN}"
74
75 econf \
76 $(use_enable nls) \
77 $(use_enable java) \
78 ${myconf} \
79 || die
80
81 emake || die
82 }
83
84 src_install() {
85 emake install DESTDIR="${D}" || die
86 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO || die
87
88 use emacs || rm -rf "${D}/usr/share/emacs"
89 #use xemacs || rm -rf "${D}/usr/lib/xemacs"
90
91 if use doc ; then
92 dohtml -r doc/reference/html/* || die
93 fi
94
95 if use java ; then
96 java-pkg_newjar "${D}"/usr/share/java/${P}.jar || die
97 rm -rf "${D}"/usr/share/java || die
98
99 if use doc ; then
100 java-pkg_dojavadoc doc/java
101 fi
102 fi
103 }
104
105 pkg_postinst() {
106 if use emacs ; then
107 elog "activate Emacs support by adding the following lines"
108 elog "to your ~/.emacs file:"
109 elog " (add-to-list 'load-path \"${SITELISP}/${PN}\")"
110 elog " (load idna)"
111 elog " (load punycode)"
112 fi
113 }
114
115
116
117 --
118 gentoo-commits@l.g.o mailing list