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

Diff of /eclass/virtuoso.eclass

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

Revision 1.14 Revision 1.15
1# Copyright 1999-2012 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.14 2012/09/27 16:35:42 axs 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# Chris Reffett <creffett@gentoo.org>
14case ${EAPI:-0} in 14case ${EAPI:-0} in
15 2|3|4|5) : ;; 15 2|3|4|5) : ;;
16 *) die "EAPI=${EAPI} is not supported" ;; 16 *) die "EAPI=${EAPI} is not supported" ;;
17esac 17esac
18 18
19inherit base autotools multilib 19inherit autotools multilib eutils
20 20
21MY_P="virtuoso-opensource-${PV}" 21MY_P="virtuoso-opensource-${PV}"
22 22
23case ${PV} in 23case ${PV} in
24 *9999*) 24 *9999*)
32 TARBALL="${MY_P}.tar.gz" 32 TARBALL="${MY_P}.tar.gz"
33 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"
34 ;; 34 ;;
35esac 35esac
36 36
37EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install 37EXPORT_FUNCTIONS src_prepare src_configure
38 38
39# Set some defaults 39# Set some defaults
40HOMEPAGE='http://virtuoso.openlinksw.com/wiki/main/Main/' 40HOMEPAGE='http://virtuoso.openlinksw.com/wiki/main/Main/'
41LICENSE='GPL-2' 41LICENSE='GPL-2'
42SLOT='0' 42SLOT='0'
57# 5. eautoreconf 57# 5. eautoreconf
58virtuoso_src_prepare() { 58virtuoso_src_prepare() {
59 debug-print-function ${FUNCNAME} "$@" 59 debug-print-function ${FUNCNAME} "$@"
60 60
61 EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch 61 EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch
62 base_src_prepare 62 pushd "${S}" >/dev/null
63 [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
64
65 debug-print "$FUNCNAME: applying user patches"
66 epatch_user
67
63 68
64 # @ECLASS-VARIABLE: VOS_EXTRACT 69 # @ECLASS-VARIABLE: VOS_EXTRACT
65 # @DESCRIPTION: 70 # @DESCRIPTION:
66 # Lists any subdirectories that are required to be extracted 71 # Lists any subdirectories that are required to be extracted
67 # and enabled in Makefile.am's for current package. 72 # and enabled in Makefile.am's for current package.
122 --enable-shared \ 127 --enable-shared \
123 --with-pthreads \ 128 --with-pthreads \
124 --without-internal-zlib \ 129 --without-internal-zlib \
125 ${myconf} 130 ${myconf}
126} 131}
127
128# @FUNCTION: virtuoso_src_compile
129# @DESCRIPTION:
130# Runs make for specified subdirs
131virtuoso_src_compile() {
132 debug-print-function ${FUNCNAME} "$@"
133
134 base_src_compile
135}
136
137# @FUNCTION: virtuoso_src_install
138# @DESCRIPTION:
139# Default src_install
140virtuoso_src_install() {
141 debug-print-function ${FUNCNAME} "$@"
142
143 base_src_install
144}

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

  ViewVC Help
Powered by ViewVC 1.1.20