/[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.3 - (hide annotations) (download)
Wed Apr 20 19:36:41 2011 UTC (8 years, 10 months ago) by reavertm
Branch: MAIN
Changes since 1.2: +1 -4 lines
No need to remove libtool files (there are none).

(Portage version: 2.2.0_alpha30/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.3 # $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.3.ebuild,v 1.2 2011/04/20 10:41:57 scarabeus 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     KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
12     IUSE="kerberos ldap readline"
13    
14     # Bug 305077
15 scarabeus 1.2 #RESTRICT="test"
16 scarabeus 1.1
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:0
24     kerberos? ( app-crypt/mit-krb5 )
25     ldap? ( net-nds/openldap )
26     readline? ( sys-libs/readline:0 )
27     "
28     DEPEND="${COMMON_DEPEND}
29     >=sys-devel/bison-2.3
30     >=sys-devel/flex-2.5.33
31     "
32     RDEPEND="${COMMON_DEPEND}
33     >=dev-db/virtuoso-odbc-${PV}:${SLOT}
34     "
35    
36     VOS_EXTRACT="
37     libsrc/Dk
38     libsrc/Thread
39     libsrc/Tidy
40     libsrc/Wi
41     libsrc/Xml.new
42     libsrc/langfunc
43     libsrc/odbcsdk
44     libsrc/plugin
45     libsrc/util
46     binsrc/virtuoso
47     binsrc/tests
48     "
49    
50     DOCS=(AUTHORS ChangeLog CREDITS INSTALL NEWS README)
51    
52     src_prepare() {
53     sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
54     || die "failed to disable installation of static lib"
55    
56     virtuoso_src_prepare
57     }
58    
59     src_configure() {
60     myconf+="
61     $(use_enable kerberos krb)
62     $(use_enable ldap openldap)
63     $(use_with readline)
64     --disable-static
65     --disable-hslookup
66     --disable-rendezvous
67     --without-iodbc
68     "
69    
70     virtuoso_src_configure
71     }
72    
73     src_install() {
74     virtuoso_src_install
75    
76     # Rename isql executables (conflicts with unixODBC)
77     mv "${ED}/usr/bin/isql" "${ED}/usr/bin/isql-v" || die
78     mv "${ED}/usr/bin/isqlw" "${ED}/usr/bin/isqlw-v" || die
79    
80     keepdir /var/lib/virtuoso/db
81     }

  ViewVC Help
Powered by ViewVC 1.1.20