summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-05-09 20:34:06 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-05-09 20:34:06 +0200
commitd66397b46205f0661e899e9ba78cfe9b4a79f739 (patch)
tree5707f9ea84c4ec5ab7918b1eb9d485b1f37b0c39 /dev-libs/FXdiv
parentdev-libs/FXdiv: division via fixed-point multiplication (diff)
downloadgentoo-d66397b46205f0661e899e9ba78cfe9b4a79f739.tar.gz
gentoo-d66397b46205f0661e899e9ba78cfe9b4a79f739.tar.bz2
gentoo-d66397b46205f0661e899e9ba78cfe9b4a79f739.zip
dev-libs/FXdiv: add USE test and deps
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs/FXdiv')
-rw-r--r--dev-libs/FXdiv/FXdiv-2020.12.09.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/FXdiv/FXdiv-2020.12.09.ebuild b/dev-libs/FXdiv/FXdiv-2020.12.09.ebuild
index 440b321e2813..825ada47c95e 100644
--- a/dev-libs/FXdiv/FXdiv-2020.12.09.ebuild
+++ b/dev-libs/FXdiv/FXdiv-2020.12.09.ebuild
@@ -13,10 +13,12 @@ SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test"
DEPEND=""
RDEPEND="${DEPEND}"
-BDEPEND=""
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
S="${WORKDIR}"/${PN}-${CommitId}