Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/botan: ChangeLog botan-1.8.8.ebuild botan-1.8.6.ebuild botan-1.8.4.ebuild
Date: Tue, 03 Nov 2009 21:39:29
Message-Id: E1N5R67-00051l-JF@stork.gentoo.org
1 arfrever 09/11/03 21:39:27
2
3 Modified: ChangeLog
4 Added: botan-1.8.8.ebuild
5 Removed: botan-1.8.6.ebuild botan-1.8.4.ebuild
6 Log:
7 Version bump.
8 (Portage version: 14774-svn/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.50 dev-libs/botan/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/ChangeLog?rev=1.50&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/ChangeLog?rev=1.50&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/ChangeLog?r1=1.49&r2=1.50
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v
20 retrieving revision 1.49
21 retrieving revision 1.50
22 diff -u -r1.49 -r1.50
23 --- ChangeLog 3 Nov 2009 20:01:27 -0000 1.49
24 +++ ChangeLog 3 Nov 2009 21:39:26 -0000 1.50
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/botan
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.49 2009/11/03 20:01:27 fauli Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.50 2009/11/03 21:39:26 arfrever Exp $
30 +
31 +*botan-1.8.8 (03 Nov 2009)
32 +
33 + 03 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -botan-1.8.4.ebuild, -botan-1.8.6.ebuild, +botan-1.8.8.ebuild:
35 + Version bump.
36
37 03 Nov 2009; Christian Faulhammer <fauli@g.o> botan-1.8.7.ebuild:
38 stable x86, bug 289437
39
40
41
42 1.1 dev-libs/botan/botan-1.8.8.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/botan-1.8.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/botan-1.8.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: botan-1.8.8.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.8.8.ebuild,v 1.1 2009/11/03 21:39:26 arfrever Exp $
52
53 EAPI="2"
54
55 inherit multilib toolchain-funcs
56
57 MY_PN="Botan"
58 MY_P="${MY_PN}-${PV}"
59 DESCRIPTION="A C++ crypto library"
60 HOMEPAGE="http://botan.randombit.net/"
61 SRC_URI="http://files.randombit.net/botan/${MY_P}.tgz"
62
63 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
64 SLOT="0"
65 LICENSE="BSD"
66 IUSE="bzip2 gmp ssl threads zlib"
67
68 S="${WORKDIR}/${MY_P}"
69
70 RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
71 zlib? ( >=sys-libs/zlib-1.2.3 )
72 gmp? ( >=dev-libs/gmp-4.2.2 )
73 ssl? ( >=dev-libs/openssl-0.9.8g )"
74
75 DEPEND="${RDEPEND}
76 >=dev-lang/python-2.4"
77
78 src_configure() {
79 local disable_modules="proc_walk,unix_procs,cpu_counter"
80
81 if ! useq threads; then
82 disable_modules="${disable_modules},pthreads"
83 fi
84
85 # Enable v9 instructions for sparc64
86 if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
87 CHOSTARCH="sparc32-v9"
88 else
89 CHOSTARCH="${CHOST%%-*}"
90 fi
91
92 cd "${S}"
93 elog "Disabling modules: ${disable_modules}"
94
95 # FIXME: We might actually be on *BSD or OS X...
96 ./configure.py \
97 --prefix="${D}/usr" \
98 --libdir=/$(get_libdir) \
99 --docdir=/share/doc/ \
100 --cc=gcc \
101 --os=linux \
102 --cpu=${CHOSTARCH} \
103 --with-endian="$(tc-endian)" \
104 --with-tr1=system \
105 $(use_with bzip2) \
106 $(use_with gmp gnump) \
107 $(use_with ssl openssl) \
108 $(use_with zlib) \
109 --disable-modules=${disable_modules} \
110 || die "configure.py failed"
111 }
112
113 src_compile() {
114 emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" || die "emake failed"
115 }
116
117 src_test() {
118 chmod -R ugo+rX "${S}"
119 emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed"
120 LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
121 }
122
123 src_install() {
124 emake install || die "emake install failed"
125 sed -i -e "s:${D}::g" "${D}usr/bin/botan-config" "${D}usr/$(get_libdir)/pkgconfig/botan-1.8.pc" || die "sed failed"
126 mv "${D}usr/share/doc/Botan-${PV}" "${D}usr/share/doc/${PF}" || die "Renaming of directory failed"
127 }