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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed May 23 09:02:01 2012 UTC (7 years, 9 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old.

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

1 dilfridge 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.3-r2.ebuild,v 1.4 2011/12/28 18:46:21 halcy0n Exp $
4 dilfridge 1.1
5     EAPI=4
6    
7     inherit virtuoso
8    
9     DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
10    
11 halcy0n 1.4 KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
12 dilfridge 1.1 IUSE="kerberos ldap readline"
13    
14     # Bug 305077
15     #RESTRICT="test"
16    
17     # Version restriction on sys-libs/zlib, bug #383349
18    
19     # 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     <sys-libs/zlib-1.2.5.1-r1:0
26     kerberos? ( app-crypt/mit-krb5 )
27     ldap? ( net-nds/openldap )
28     readline? ( sys-libs/readline:0 )
29     "
30     DEPEND="${COMMON_DEPEND}
31     <sys-apps/gawk-4.0.0
32     >=sys-devel/bison-2.3
33     >=sys-devel/flex-2.5.33
34     "
35     RDEPEND="${COMMON_DEPEND}
36     >=dev-db/virtuoso-odbc-${PV}:${SLOT}
37     "
38    
39     VOS_EXTRACT="
40     libsrc/Dk
41     libsrc/Thread
42     libsrc/Tidy
43     libsrc/Wi
44     libsrc/Xml.new
45     libsrc/langfunc
46     libsrc/odbcsdk
47     libsrc/plugin
48     libsrc/util
49     binsrc/virtuoso
50     binsrc/tests
51     "
52    
53     DOCS=(AUTHORS ChangeLog CREDITS INSTALL NEWS README)
54    
55     PATCHES=( "${FILESDIR}/${P}-unicode.patch" )
56    
57     src_prepare() {
58     sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
59     || die "failed to disable installation of static lib"
60    
61     virtuoso_src_prepare
62     }
63    
64     src_configure() {
65     myconf+="
66     $(use_enable kerberos krb)
67     $(use_enable ldap openldap)
68     $(use_with readline)
69     --disable-static
70     --disable-hslookup
71     --disable-rendezvous
72     --without-iodbc
73     "
74    
75     virtuoso_src_configure
76     }
77    
78     src_install() {
79     virtuoso_src_install
80    
81     # Rename isql executables (conflicts with unixODBC)
82     mv "${ED}/usr/bin/isql" "${ED}/usr/bin/isql-v" || die
83     mv "${ED}/usr/bin/isqlw" "${ED}/usr/bin/isqlw-v" || die
84    
85     keepdir /var/lib/virtuoso/db
86     }

  ViewVC Help
Powered by ViewVC 1.1.20