mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
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>
This commit is contained in:
parent
1413120613
commit
ae38058e9e
1
dev-libs/asmjit/Manifest
Normal file
1
dev-libs/asmjit/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST asmjit-2024.10.25.tar.gz 1184167 BLAKE2B 2b07a470f1b7a3886aa67bd3d8efeb35f7218622df0f21da398b724226fa7253c37c3548f9a3f29ce0d2306794af02642969e9623829750e7ed6a0e6abfd88de SHA512 aef778b28bfb7187c93f5a7c8edacbb4d57b79d32b09ce30eab52e1708f641b123d19d5501c14625a155b4add8499782f4207145addbdf670266bc121d11138b
|
33
dev-libs/asmjit/asmjit-2024.10.25.ebuild
Normal file
33
dev-libs/asmjit/asmjit-2024.10.25.ebuild
Normal file
@ -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
|
||||
}
|
33
dev-libs/asmjit/asmjit-9999.ebuild
Normal file
33
dev-libs/asmjit/asmjit-9999.ebuild
Normal file
@ -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
|
||||
}
|
11
dev-libs/asmjit/metadata.xml
Normal file
11
dev-libs/asmjit/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>fatzer2@gmail.com</email>
|
||||
<name>Alexander Golubev</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">asmjit/asmjit</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user