diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-11-09 15:12:24 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-11-09 15:19:34 +0300 |
commit | ae38058e9ea508cdee38f8836a9a406d76b22bd2 (patch) | |
tree | 2c2202fa2c7f6b74dc3d980492aa79b79be0fc24 /dev-libs/asmjit/asmjit-9999.ebuild | |
parent | dev-cpp/scnlib: drop 3.0.1 (diff) | |
download | guru-ae38058e9ea508cdee38f8836a9a406d76b22bd2.tar.gz guru-ae38058e9ea508cdee38f8836a9a406d76b22bd2.tar.bz2 guru-ae38058e9ea508cdee38f8836a9a406d76b22bd2.zip |
dev-libs/asmjit: new package, add 2024.10.25, 9999
Imported from the main tree because a version bump were required
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'dev-libs/asmjit/asmjit-9999.ebuild')
-rw-r--r-- | dev-libs/asmjit/asmjit-9999.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/asmjit/asmjit-9999.ebuild b/dev-libs/asmjit/asmjit-9999.ebuild new file mode 100644 index 000000000..69fb1376f --- /dev/null +++ b/dev-libs/asmjit/asmjit-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="Machine code generation for C++" +HOMEPAGE="https://asmjit.com/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/asmjit/asmjit" +else + CommitId=f1096428b87e9d16305de16e91f2a7f52aef5a88 + SRC_URI="https://github.com/asmjit/${PN}/archive/${CommitId}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}"/${PN}-${CommitId} +fi + +LICENSE="ZLIB" +SLOT="0" +IUSE="test" + +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +DOCS=( README.md CONTRIBUTING.md ) + +src_configure() { + local mycmakeargs=( + -DASMJIT_TEST=$(usex test) + ) + cmake_src_configure +} |