annotate dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild @ 286:0256a54aeb68

bump Zookeeper to 3.3.3, fix ebuild since TLP move
author holger
date Mon, 04 Apr 2011 15:26:16 +0200
parents f85cecd684fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
265
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
1 # Copyright 1999-2010 Gentoo Foundation
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild,v 1.8 2010/04/25 20:14:06 armin76 Exp $
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
4
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
5 EAPI="2"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
6
266
f85cecd684fc just nuke php support
holger
parents: 265
diff changeset
7 inherit eutils multilib
265
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
8
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
9 MY_P="uuid-${PV}"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
10
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
11 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."
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
12 HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
13 SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
14 LICENSE="as-is"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
15 SLOT="0"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
266
f85cecd684fc just nuke php support
holger
parents: 265
diff changeset
17 IUSE="+cxx"
265
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
18
266
f85cecd684fc just nuke php support
holger
parents: 265
diff changeset
19 DEPEND=""
265
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
20 RDEPEND="${DEPEND}"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
21
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
22 S="${WORKDIR}/${MY_P}"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
23
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
24 src_unpack() {
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
25 unpack ${A}
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
26 cd "${S}"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
27
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
28 epatch "${FILESDIR}/${P}-gentoo.patch"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
29 }
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
30
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
31 src_compile() {
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
32 # Notes:
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
33 # * collides with e2fstools libs and includes if not moved around
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
34 # * perl-bindings are broken
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
35 # * pgsql-bindings need PostgreSQL-sources and are included since PostgreSQL 8.3
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
36 econf \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
37 --includedir=/usr/include/ossp \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
38 --with-dce \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
39 --without-pgsql \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
40 --without-perl \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
41 --without-php \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
42 $(use_with cxx) \
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
43 || die "econf failed"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
44 emake || die "emake failed"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
45 }
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
46
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
47 src_install() {
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
48 emake DESTDIR="${D}" install || die "emake install failed"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
49
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
50 dodoc AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
51
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
52 mv "${D}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
53 mv "${D}/usr/share/man/man3"/uuid.3{,ossp}
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
54 mv "${D}/usr/share/man/man3"/uuid++.3{,ossp}
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
55 }
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
56
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
57 src_test() {
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
58 emake check || die "emake check failed"
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
59 # Tests for the php-bindings would be available
4f80c1679ba4 add fixed ossp-uuid
holger
parents:
diff changeset
60 }