Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/ossp-uuid: ossp-uuid-1.6.2.ebuild ChangeLog
Date: Sat, 21 Mar 2009 11:58:46
Message-Id: E1Lkzqc-00074H-G5@stork.gentoo.org
1 dev-zero 09/03/21 11:58:42
2
3 Modified: ChangeLog
4 Added: ossp-uuid-1.6.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6.8/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.12 dev-libs/ossp-uuid/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ossp-uuid/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ossp-uuid/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ossp-uuid/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 24 Dec 2008 19:07:15 -0000 1.11
23 +++ ChangeLog 21 Mar 2009 11:58:42 -0000 1.12
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/ossp-uuid
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ChangeLog,v 1.11 2008/12/24 19:07:15 armin76 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ChangeLog,v 1.12 2009/03/21 11:58:42 dev-zero Exp $
30 +
31 +*ossp-uuid-1.6.2 (21 Mar 2009)
32 +
33 + 21 Mar 2009; Tiziano Müller <dev-zero@g.o>
34 + +files/ossp-uuid-1.6.2-gentoo.patch, +ossp-uuid-1.6.2.ebuild:
35 + Version bump.
36
37 24 Dec 2008; Raúl Porcel <armin76@g.o> ossp-uuid-1.6.1.ebuild:
38 Add ~s390 wrt #215479
39
40
41
42 1.1 dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ossp-uuid-1.6.2.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/ossp-uuid/ossp-uuid-1.6.2.ebuild,v 1.1 2009/03/21 11:58:42 dev-zero Exp $
52
53 EAPI="1"
54
55 PHP_EXT_NAME="uuid"
56 PHP_EXT_INI="yes"
57 PHP_EXT_ZENDEXT="no"
58 PHP_VERSION="5"
59
60 inherit eutils multilib php-ext-source-r1 depend.php
61
62 MY_P="uuid-${PV}"
63
64 DESCRIPTION="An ISO-C:1999 API and corresponding CLI for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant UUID."
65 HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/"
66 SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz"
67 LICENSE="as-is"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
70 IUSE="+cxx php"
71
72 DEPEND="php? ( dev-lang/php:5 )"
73 RDEPEND="${DEPEND}"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80
81 epatch "${FILESDIR}/${P}-gentoo.patch"
82
83 if use php; then
84 cd php
85 php-ext-source-r1_phpize
86 fi
87 }
88
89 src_compile() {
90 # Notes:
91 # * collides with e2fstools libs and includes if not moved around
92 # * perl-bindings are broken
93 # * pgsql-bindings need PostgreSQL-sources and are included since PostgreSQL 8.3
94 econf \
95 --includedir=/usr/include/ossp \
96 --with-dce \
97 --without-pgsql \
98 --without-perl \
99 --without-php \
100 $(use_with cxx) \
101 || die "econf failed"
102 emake || die "emake failed"
103
104 if use php; then
105 cd php
106 php-ext-source-r1_src_compile
107 fi
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die "emake install failed"
112
113 dodoc AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS
114
115 if use php ; then
116 cd php
117 php-ext-source-r1_src_install
118 insinto /usr/share/php5
119 newins uuid.php5 uuid.php
120 fi
121
122 mv "${D}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc
123 mv "${D}/usr/share/man/man3"/uuid.3{,ossp}
124 mv "${D}/usr/share/man/man3"/uuid++.3{,ossp}
125 }
126
127 src_test() {
128 emake check || die "emake check failed"
129 # Tests for the php-bindings would be available
130 }