You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1015 B
51 lines
1015 B
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
9 years ago
|
|
||
8 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
8 years ago
|
EGIT_REPO_URI="git://gitlab.com/orcus/orcus.git"
|
||
9 years ago
|
|
||
|
[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
|
||
|
inherit eutils ${GITECLASS}
|
||
|
unset GITECLASS
|
||
|
|
||
|
DESCRIPTION="Standalone file import filter library for spreadsheet documents"
|
||
8 years ago
|
HOMEPAGE="https://gitlab.com/orcus/orcus"
|
||
9 years ago
|
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.xz"
|
||
|
|
||
|
LICENSE="MIT"
|
||
8 years ago
|
SLOT="0"
|
||
|
[[ ${PV} == 9999 ]] || \
|
||
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||
9 years ago
|
|
||
8 years ago
|
IUSE="+spreadsheet-model static-libs tools"
|
||
9 years ago
|
|
||
|
RDEPEND="
|
||
|
>=dev-libs/boost-1.51.0:=
|
||
|
sys-libs/zlib:=
|
||
8 years ago
|
spreadsheet-model? ( =dev-libs/libixion-0.9*:= )
|
||
9 years ago
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
8 years ago
|
>=dev-util/mdds-0.8.1:0
|
||
9 years ago
|
"
|
||
|
|
||
|
src_prepare() {
|
||
8 years ago
|
eapply_user
|
||
9 years ago
|
[[ ${PV} == 9999 ]] && eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
--disable-werror \
|
||
8 years ago
|
$(use_enable spreadsheet-model) \
|
||
|
$(use_enable static-libs static) \
|
||
|
$(use_with tools)
|
||
9 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
|
prune_libtool_files --all
|
||
|
}
|