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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu May 6 22:18:34 2010 UTC (9 years, 9 months ago) by reavertm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Repoman commit
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.0.ebuild,v 1.4 2010/02/23 00:53:59 reavertm Exp $
4
5 EAPI="3"
6
7 inherit virtuoso
8
9 DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
10
11 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
12 IUSE="kerberos ldap readline static-libs"
13
14 RESTRICT="test"
15
16 # zeroconf support looks like broken - disabling
17 # mono support fetches mono source and compiles it manually - disabling for now
18 # mono? ( dev-lang/mono )
19 COMMON_DEPEND="
20 dev-libs/libxml2:2
21 >=dev-libs/openssl-0.9.7i:0
22 sys-libs/zlib:0
23 kerberos? ( app-crypt/mit-krb5 )
24 ldap? ( net-nds/openldap )
25 readline? ( sys-libs/readline:0 )
26 "
27 DEPEND="${COMMON_DEPEND}
28 >=sys-devel/bison-2.3
29 >=sys-devel/flex-2.5.33
30 "
31 RDEPEND="${COMMON_DEPEND}
32 >=dev-db/virtuoso-odbc-${PV}:${SLOT}
33 "
34
35 VOS_EXTRACT="
36 libsrc/Dk
37 libsrc/Thread
38 libsrc/Tidy
39 libsrc/Wi
40 libsrc/Xml.new
41 libsrc/langfunc
42 libsrc/odbcsdk
43 libsrc/plugin
44 libsrc/util
45 binsrc/virtuoso
46 binsrc/tests
47 "
48
49 pkg_setup() {
50 if has_version '<dev-db/virtuoso-server-6.0.0' && has_version 'kde-base/nepomuk'; then
51 VIRTUOSO_UPGRADE=1
52 fi
53 }
54
55 src_prepare() {
56 if ! use static-libs; then
57 sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
58 || die "failed to disable installation of static lib"
59 fi
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 $(use_enable static-libs static)
70 --disable-rendezvous
71 --disable-hslookup
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 dodoc AUTHORS ChangeLog CREDITS INSTALL NEWS README || die "dodoc failed"
86
87 keepdir /var/lib/virtuoso/db
88 }
89
90 pkg_postinst() {
91 if [[ -n ${VIRTUOSO_UPGRADE} ]]; then
92 echo
93 ewarn "You're upgrading from Virtuoso V5. Note that your existing Nepomuk Virtuoso databases"
94 ewarn "will not work with Virtuoso V6 release unless you do one of the following:"
95 ewarn "a) Remove existing databases:"
96 ewarn " (as user) $ rm -r \${HOME}/.kde4/share/apps/nepomuk/repository"
97 ewarn "b) Try to convert existing databases to V6 format:"
98 ewarn " (as root) # emerge -1 dev-db/virtuosoconverter"
99 ewarn " (as user) $ virtuosoconverter --auto"
100 ewarn " (as root) # emerge -C virtuosoconverter"
101 echo
102 fi
103 }

  ViewVC Help
Powered by ViewVC 1.1.20