diff options
-rw-r--r-- | sci-libs/xraylib/xraylib-2.16.0.ebuild | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sci-libs/xraylib/xraylib-2.16.0.ebuild b/sci-libs/xraylib/xraylib-2.16.0.ebuild index e699dffdb..889f1bf19 100644 --- a/sci-libs/xraylib/xraylib-2.16.0.ebuild +++ b/sci-libs/xraylib/xraylib-2.16.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/tschoonj/xraylib/archive/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="cxx examples fortran java lua perl python" +IUSE="cxx examples fortran java lua perl php python ruby" DEPEND="fortran? ( virtual/fortran ) java? ( virtual/jdk ) @@ -23,3 +23,21 @@ DEPEND="fortran? ( virtual/fortran ) ${PYTHON_DEPS}" RDEPEND="${DEPEND}" + +src_configure() { + local myeconfargs=( + --disable-idl + $(use-enable fortran fortran2003) + $(use-enable java) + $(use-enable lua) + $(use-enable perl) + $(use-enable perl perl-integration) + $(use-enable php) + $(use-enable php php-integration) + $(use-enable python) + $(use-enable python python-integration) + $(use-enable ruby) + $(use-enable ruby ruby-integration) + ) + autotools-utils_src_configure +} |