/[gentoo-x86]/dev-db/virtuoso-server/virtuoso-server-6.1.4-r1.ebuild
Gentoo

Contents of /dev-db/virtuoso-server/virtuoso-server-6.1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun May 20 17:52:41 2012 UTC (7 years, 9 months ago) by johu
Branch: MAIN
Changes since 1.4: +2 -1 lines
Add missing DEPEND on virtual/pkgconfig by Nikoli <nikoli@lavabit.com> wrt bug #416761.

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.4-r1.ebuild,v 1.4 2012/05/20 14:54:06 ago Exp $
4
5 EAPI=4
6
7 inherit virtuoso
8
9 DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
10
11 KEYWORDS="amd64 ~arm ppc ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
12 IUSE="kerberos ldap readline"
13
14 # Bug 305077
15 #RESTRICT="test"
16
17 # zeroconf support looks like broken - disabling - last checked around 5.0.12
18 # mono support fetches mono source and compiles it manually - disabling for now
19 # mono? ( dev-lang/mono )
20 COMMON_DEPEND="
21 dev-libs/libxml2:2
22 >=dev-libs/openssl-0.9.7i:0
23 >=sys-libs/zlib-1.2.5.1-r2:0[minizip]
24 kerberos? ( app-crypt/mit-krb5 )
25 ldap? ( net-nds/openldap )
26 readline? ( sys-libs/readline:0 )
27 "
28 DEPEND="${COMMON_DEPEND}
29 sys-apps/gawk
30 >=sys-devel/bison-2.3
31 >=sys-devel/flex-2.5.33
32 virtual/pkgconfig
33 "
34 RDEPEND="${COMMON_DEPEND}
35 ~dev-db/virtuoso-odbc-${PV}:${SLOT}
36 "
37
38 VOS_EXTRACT="
39 libsrc/Dk
40 libsrc/Thread
41 libsrc/Tidy
42 libsrc/Wi
43 libsrc/Xml.new
44 libsrc/langfunc
45 libsrc/odbcsdk
46 libsrc/plugin
47 libsrc/util
48 binsrc/virtuoso
49 binsrc/tests
50 "
51
52 DOCS=(AUTHORS ChangeLog CREDITS INSTALL NEWS README)
53
54 PATCHES=(
55 "${FILESDIR}/${PN}-6.1.4-unbundle-minizip.patch"
56 "${FILESDIR}/${PN}-6.1.4-strncat-overflow.patch"
57
58 )
59
60 src_prepare() {
61 sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
62 || die "failed to disable installation of static lib"
63
64 virtuoso_src_prepare
65 }
66
67 src_configure() {
68 myconf+="
69 $(use_enable kerberos krb)
70 $(use_enable ldap openldap)
71 $(use_with readline)
72 --disable-static
73 --disable-hslookup
74 --disable-rendezvous
75 --without-iodbc
76 "
77
78 virtuoso_src_configure
79 }
80
81 src_install() {
82 virtuoso_src_install
83
84 # Rename isql executables (conflicts with unixODBC)
85 mv "${ED}/usr/bin/isql" "${ED}/usr/bin/isql-v" || die
86 mv "${ED}/usr/bin/isqlw" "${ED}/usr/bin/isqlw-v" || die
87
88 keepdir /var/lib/virtuoso/db
89 }

  ViewVC Help
Powered by ViewVC 1.1.20