summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/zchunk/zchunk-1.2.3.ebuild')
-rw-r--r--app-arch/zchunk/zchunk-1.2.3.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-arch/zchunk/zchunk-1.2.3.ebuild b/app-arch/zchunk/zchunk-1.2.3.ebuild
index 78b7906664ab..e89d8926554d 100644
--- a/app-arch/zchunk/zchunk-1.2.3.ebuild
+++ b/app-arch/zchunk/zchunk-1.2.3.ebuild
@@ -18,6 +18,8 @@ fi
LICENSE="BSD-2"
SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/zstd:=
@@ -25,3 +27,11 @@ DEPEND="
dev-libs/openssl:=
"
RDEPEND="${DEPEND}"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use test tests)
+ )
+
+ meson_src_configure
+}