/[gentoo-x86]/eclass/virtuoso.eclass
Gentoo

Diff of /eclass/virtuoso.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.13
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/virtuoso.eclass,v 1.4 2010/05/12 17:59:02 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/virtuoso.eclass,v 1.13 2012/05/13 18:53:58 creffett Exp $
4 4
5# @ECLASS: virtuoso.eclass 5# @ECLASS: virtuoso.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Chris Reffett <creffett@gentoo.org>
8# 9#
9# @BLURB: Provides splitting functionality for Virtuoso 10# @BLURB: Provides splitting functionality for Virtuoso
10# @DESCRIPTION: 11# @DESCRIPTION:
11# This eclass provides common code for splitting Virtuoso OpenSource database 12# This eclass provides common code for splitting Virtuoso OpenSource database
12 13
13case ${EAPI:-0} in 14case ${EAPI:-0} in
14 2|3) : ;; 15 2|3|4) : ;;
15 *) DEPEND='EAPI-TOO-OLD' ;; 16 *) die "EAPI=${EAPI} is not supported" ;;
16esac 17esac
17 18
18inherit base autotools flag-o-matic multilib 19inherit base autotools multilib
19 20
20MY_P="virtuoso-opensource-${PV}" 21MY_P="virtuoso-opensource-${PV}"
21 22
22case ${PV} in 23case ${PV} in
23 *9999*) 24 *9999*)
57virtuoso_src_prepare() { 58virtuoso_src_prepare() {
58 debug-print-function ${FUNCNAME} "$@" 59 debug-print-function ${FUNCNAME} "$@"
59 60
60 EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch 61 EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch
61 base_src_prepare 62 base_src_prepare
62 epatch_user
63 63
64 # @ECLASS-VARIABLE: VOS_EXTRACT 64 # @ECLASS-VARIABLE: VOS_EXTRACT
65 # @DESCRIPTION: 65 # @DESCRIPTION:
66 # Lists any subdirectories that are required to be extracted 66 # Lists any subdirectories that are required to be extracted
67 # and enabled in Makefile.am's for current package. 67 # and enabled in Makefile.am's for current package.
107# @DESCRIPTION: 107# @DESCRIPTION:
108# Runs ./configure with common and user options specified via myconf variable 108# Runs ./configure with common and user options specified via myconf variable
109virtuoso_src_configure() { 109virtuoso_src_configure() {
110 debug-print-function ${FUNCNAME} "$@" 110 debug-print-function ${FUNCNAME} "$@"
111 111
112 use amd64 && append-flags '-m64'
113
114 # Override some variables to make tests work 112 # Override some variables to make tests work
115 if [[ ${PN} != virtuoso-server ]]; then 113 if [[ ${PN} != virtuoso-server ]]; then
116 [[ ${EAPI} == 2 ]] && ! use prefix && EPREFIX= 114 [[ ${EAPI} == 2 ]] && ! use prefix && EPREFIX=
117 export ISQL="${EPREFIX}"/usr/bin/isql-v 115 export ISQL="${EPREFIX}"/usr/bin/isql-v
118 export SERVER="${EPREFIX}"/usr/bin/virtuoso-t 116 export SERVER="${EPREFIX}"/usr/bin/virtuoso-t
126 --without-internal-zlib \ 124 --without-internal-zlib \
127 ${myconf} 125 ${myconf}
128} 126}
129 127
130# @FUNCTION: virtuoso_src_compile 128# @FUNCTION: virtuoso_src_compile
131# @DESCRIPTION 129# @DESCRIPTION:
132# Runs make for specified subdirs 130# Runs make for specified subdirs
133virtuoso_src_compile() { 131virtuoso_src_compile() {
134 debug-print-function ${FUNCNAME} "$@" 132 debug-print-function ${FUNCNAME} "$@"
135 133
136 base_src_compile 134 base_src_compile

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20