mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-libs/polyseed: conditionally build static-libs and test targets based on USE flags
Closes: https://bugs.gentoo.org/901189 Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
This commit is contained in:
@@ -12,5 +12,9 @@ SRC_URI="https://github.com/tevador/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="" #todo: make test executible an optiona; USE flag
|
||||
IUSE="static-libs test"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "")
|
||||
}
|
||||
|
||||
@@ -12,5 +12,9 @@ SRC_URI="https://github.com/tevador/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="" #todo: make test executible an optiona; USE flag
|
||||
IUSE="static-libs test"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user