summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-20 11:08:17 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-20 11:44:26 -0400
commit438db71c08878d2fb1695b1ea23c60159916f807 (patch)
treeaf7a2c169bd4c6cd31b8418ac9afba36d960bd7c /dev-lua
parentwww-plugins/chrome-binary-plugins: automated update (83.0.4103.61) (diff)
downloadgentoo-438db71c08878d2fb1695b1ea23c60159916f807.tar.gz
gentoo-438db71c08878d2fb1695b1ea23c60159916f807.tar.bz2
gentoo-438db71c08878d2fb1695b1ea23c60159916f807.zip
dev-lua/lutok: add IUSE=static-libs
Closes: https://bugs.gentoo.org/724296 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-lua')
-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