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

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

  ViewVC Help
Powered by ViewVC 1.1.20