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

Contents of /dev-db/virtuoso-server/virtuoso-server-6.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed Sep 21 19:39:12 2011 UTC (8 years, 5 months ago) by reavertm
Branch: MAIN
Changes since 1.4: +4 -2 lines
Restrict zlib version, bug 383349

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

1 scarabeus 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 reavertm 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.3.ebuild,v 1.4 2011/09/05 13:49:43 chainsaw Exp $
4 scarabeus 1.1
5     EAPI=4
6    
7     inherit virtuoso
8    
9     DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
10    
11 chainsaw 1.4 KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
12 scarabeus 1.1 IUSE="kerberos ldap readline"
13    
14     # Bug 305077
15 scarabeus 1.2 #RESTRICT="test"
16 scarabeus 1.1
17 reavertm 1.5 # Version restriction on sys-libs/zlib, bug #383349
18    
19 scarabeus 1.1 # zeroconf support looks like broken - disabling - last checked around 5.0.12
20     # mono support fetches mono source and compiles it manually - disabling for now
21     # mono? ( dev-lang/mono )
22     COMMON_DEPEND="
23     dev-libs/libxml2:2
24     >=dev-libs/openssl-0.9.7i:0
25 reavertm 1.5 <sys-libs/zlib-1.2.5.1-r1:0
26 scarabeus 1.1 kerberos? ( app-crypt/mit-krb5 )
27     ldap? ( net-nds/openldap )
28     readline? ( sys-libs/readline:0 )
29     "
30     DEPEND="${COMMON_DEPEND}
31     >=sys-devel/bison-2.3
32     >=sys-devel/flex-2.5.33
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     src_prepare() {
55     sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
56     || die "failed to disable installation of static lib"
57    
58     virtuoso_src_prepare
59     }
60    
61     src_configure() {
62     myconf+="
63     $(use_enable kerberos krb)
64     $(use_enable ldap openldap)
65     $(use_with readline)
66     --disable-static
67     --disable-hslookup
68     --disable-rendezvous
69     --without-iodbc
70     "
71    
72     virtuoso_src_configure
73     }
74    
75     src_install() {
76     virtuoso_src_install
77    
78     # Rename isql executables (conflicts with unixODBC)
79     mv "${ED}/usr/bin/isql" "${ED}/usr/bin/isql-v" || die
80     mv "${ED}/usr/bin/isqlw" "${ED}/usr/bin/isqlw-v" || die
81    
82     keepdir /var/lib/virtuoso/db
83     }

  ViewVC Help
Powered by ViewVC 1.1.20