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.
59 lines
1.1 KiB
59 lines
1.1 KiB
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
|
|
||
|
EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
|
||
|
|
||
|
PYTHON_COMPAT=( python2_7 )
|
||
|
|
||
9 years ago
|
[[ ${PV} == 9999 ]] && GITECLASS="git-r3"
|
||
|
inherit autotools eutils python-single-r1 ${GITECLASS}
|
||
9 years ago
|
unset GITECLASS
|
||
|
|
||
|
DESCRIPTION="General purpose formula parser & interpreter"
|
||
|
HOMEPAGE="https://gitlab.com/ixion/ixion"
|
||
|
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz"
|
||
|
|
||
|
LICENSE="MIT"
|
||
8 years ago
|
SLOT="0/0.10" # based on SONAME of libixion.so
|
||
9 years ago
|
[[ ${PV} == 9999 ]] || \
|
||
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||
9 years ago
|
IUSE="python static-libs"
|
||
9 years ago
|
|
||
9 years ago
|
RDEPEND="
|
||
9 years ago
|
dev-libs/boost:=[threads]
|
||
9 years ago
|
python? ( ${PYTHON_DEPS} )
|
||
9 years ago
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
8 years ago
|
>=dev-util/mdds-0.12.0:0=
|
||
9 years ago
|
"
|
||
|
|
||
9 years ago
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||
9 years ago
|
|
||
9 years ago
|
pkg_setup() {
|
||
|
use python && python-single-r1_pkg_setup
|
||
|
}
|
||
|
|
||
9 years ago
|
src_prepare() {
|
||
8 years ago
|
eapply_user
|
||
|
|
||
|
eapply "${FILESDIR}/${PN}-0.9.1-typo.patch" \
|
||
|
"${FILESDIR}/${PN}-0.9.1-python-optional.patch"
|
||
|
|
||
9 years ago
|
eautoreconf
|
||
9 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
9 years ago
|
$(use_enable python) \
|
||
9 years ago
|
$(use_enable static-libs static)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
|
prune_libtool_files --all
|
||
|
}
|