2015-02-09 12:08:56 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-09-03 09:20:21 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-04-07 09:26:02 +03:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libixion/libixion-9999.ebuild,v 1.13 2015/04/06 11:42:50 dilfridge Exp $
|
2012-09-03 09:20:21 +04:00
|
|
|
|
2013-04-20 18:31:04 +04:00
|
|
|
EAPI=5
|
2012-09-03 09:20:21 +04:00
|
|
|
|
2015-04-05 19:06:46 +03:00
|
|
|
EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
|
2012-09-03 09:20:21 +04:00
|
|
|
|
2015-02-09 12:08:56 +03:00
|
|
|
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
|
|
|
|
2014-12-29 09:27:40 +03:00
|
|
|
[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
|
2015-02-09 12:08:56 +03:00
|
|
|
inherit eutils python-single-r1 ${GITECLASS}
|
2012-09-03 09:20:21 +04:00
|
|
|
unset GITECLASS
|
|
|
|
|
|
|
|
DESCRIPTION="General purpose formula parser & interpreter"
|
2015-04-05 19:06:46 +03:00
|
|
|
HOMEPAGE="https://gitlab.com/ixion/ixion"
|
2015-04-06 15:07:25 +03:00
|
|
|
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz"
|
2012-09-03 09:20:21 +04:00
|
|
|
|
|
|
|
LICENSE="MIT"
|
2015-04-07 09:26:02 +03:00
|
|
|
SLOT="0/0.10"
|
2013-04-20 18:31:04 +04:00
|
|
|
[[ ${PV} == 9999 ]] || \
|
|
|
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
2012-09-03 09:20:21 +04:00
|
|
|
IUSE="static-libs"
|
|
|
|
|
2015-02-09 12:08:56 +03:00
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
|
|
dev-libs/boost:=
|
|
|
|
"
|
2013-07-10 14:47:08 +04:00
|
|
|
DEPEND="${RDEPEND}
|
2015-02-09 12:08:56 +03:00
|
|
|
>=dev-util/mdds-0.12.0:=
|
2013-07-10 14:47:08 +04:00
|
|
|
"
|
2012-09-03 09:20:21 +04:00
|
|
|
|
2015-02-09 12:08:56 +03:00
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
|
2012-09-03 09:20:21 +04:00
|
|
|
src_prepare() {
|
2013-04-20 18:31:04 +04:00
|
|
|
[[ ${PV} == 9999 ]] && eautoreconf
|
2012-09-03 09:20:21 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
$(use_enable static-libs static)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
|
2013-04-20 18:31:04 +04:00
|
|
|
prune_libtool_files --all
|
2012-09-03 09:20:21 +04:00
|
|
|
}
|