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

Diff of /eclass/virtuoso.eclass

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

Revision 1.11 Revision 1.15
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2012 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.11 2011/07/07 23:00:06 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/virtuoso.eclass,v 1.15 2014/03/07 03:27:47 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|4) : ;; 15 2|3|4|5) : ;;
15 *) die "EAPI=${EAPI} is not supported" ;; 16 *) die "EAPI=${EAPI} is not supported" ;;
16esac 17esac
17 18
18inherit base autotools multilib 19inherit autotools multilib eutils
19 20
20MY_P="virtuoso-opensource-${PV}" 21MY_P="virtuoso-opensource-${PV}"
21 22
22case ${PV} in 23case ${PV} in
23 *9999*) 24 *9999*)
31 TARBALL="${MY_P}.tar.gz" 32 TARBALL="${MY_P}.tar.gz"
32 SRC_URI="mirror://sourceforge/virtuoso/${TARBALL} mirror://gentoo/VOS-genpatches-${PV}.tar.bz2" 33 SRC_URI="mirror://sourceforge/virtuoso/${TARBALL} mirror://gentoo/VOS-genpatches-${PV}.tar.bz2"
33 ;; 34 ;;
34esac 35esac
35 36
36EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install 37EXPORT_FUNCTIONS src_prepare src_configure
37 38
38# Set some defaults 39# Set some defaults
39HOMEPAGE='http://virtuoso.openlinksw.com/wiki/main/Main/' 40HOMEPAGE='http://virtuoso.openlinksw.com/wiki/main/Main/'
40LICENSE='GPL-2' 41LICENSE='GPL-2'
41SLOT='0' 42SLOT='0'
42 43
43# Restrict incompatible gawk, bug 374315
44DEPEND=' 44DEPEND='
45 <sys-apps/gawk-4.0.0
46 >=sys-devel/libtool-2.2.6a 45 >=sys-devel/libtool-2.2.6a
47' 46'
48RDEPEND='' 47RDEPEND=''
49 48
50S="${WORKDIR}/${MY_P}" 49S="${WORKDIR}/${MY_P}"
58# 5. eautoreconf 57# 5. eautoreconf
59virtuoso_src_prepare() { 58virtuoso_src_prepare() {
60 debug-print-function ${FUNCNAME} "$@" 59 debug-print-function ${FUNCNAME} "$@"
61 60
62 EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch 61 EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch
63 base_src_prepare 62 pushd "${S}" >/dev/null
63 [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
64
65 debug-print "$FUNCNAME: applying user patches"
66 epatch_user
67
64 68
65 # @ECLASS-VARIABLE: VOS_EXTRACT 69 # @ECLASS-VARIABLE: VOS_EXTRACT
66 # @DESCRIPTION: 70 # @DESCRIPTION:
67 # Lists any subdirectories that are required to be extracted 71 # Lists any subdirectories that are required to be extracted
68 # and enabled in Makefile.am's for current package. 72 # and enabled in Makefile.am's for current package.
123 --enable-shared \ 127 --enable-shared \
124 --with-pthreads \ 128 --with-pthreads \
125 --without-internal-zlib \ 129 --without-internal-zlib \
126 ${myconf} 130 ${myconf}
127} 131}
128
129# @FUNCTION: virtuoso_src_compile
130# @DESCRIPTION:
131# Runs make for specified subdirs
132virtuoso_src_compile() {
133 debug-print-function ${FUNCNAME} "$@"
134
135 base_src_compile
136}
137
138# @FUNCTION: virtuoso_src_install
139# @DESCRIPTION:
140# Default src_install
141virtuoso_src_install() {
142 debug-print-function ${FUNCNAME} "$@"
143
144 base_src_install
145}

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20