summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lua/lutok/lutok-0.4-r2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-lua/lutok/lutok-0.4-r2.ebuild b/dev-lua/lutok/lutok-0.4-r2.ebuild
index 42aefd393be..f908ca91e0a 100644
--- a/dev-lua/lutok/lutok-0.4-r2.ebuild
+++ b/dev-lua/lutok/lutok-0.4-r2.ebuild
@@ -10,11 +10,11 @@ SRC_URI="https://github.com/jmmv/lutok/releases/download/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="test"
+IUSE="static-libs test"
RESTRICT="!test? ( test )"
RDEPEND="
- dev-lang/lua:0
+ dev-lang/lua:0[static-libs(+)?]
"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -24,6 +24,10 @@ DEPEND="${RDEPEND}
)
"
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
src_install() {
default
rm -rf "${ED}"/usr/tests || die