first commit
This commit is contained in:
commit
528f89a79b
90 changed files with 13567 additions and 0 deletions
1
dev-lang/odin/Manifest
Normal file
1
dev-lang/odin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST dev-2024-10.tar.gz 135410967 BLAKE2B d0983bb79988e3e468bc39fea8863d6d6bde52a46ef30f719fd57c052ba3f569c275474421e473794570845627c10e8bd9a279a307fbabb4451e33ca9f211591 SHA512 37f41b55575b68cf95b9378f3e333736d4e39c357102db6c6bcf43c74fef9e9eea1824c69f1e0c27e21abed70ce5d225a1f20fbe9e513612937fdaf1ceb45dfa
|
||||
14
dev-lang/odin/metadata.xml
Normal file
14
dev-lang/odin/metadata.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tetris123480@gmail.com</email>
|
||||
<name>Bogdan Ivanyuk</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/odin-lang/Odin/issues</bugs-to>
|
||||
<changelog>https://github.com/odin-lang/Odin/releases</changelog>
|
||||
<doc>https://odin-lang.org/docs/</doc>
|
||||
<remote-id type="github">odin-lang/Odin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
51
dev-lang/odin/odin-2024.10.ebuild
Normal file
51
dev-lang/odin/odin-2024.10.ebuild
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=(14 17 18)
|
||||
inherit llvm-r1
|
||||
|
||||
DESCRIPTION="The Data-Oriented Language for Sane Software Development."
|
||||
|
||||
HOMEPAGE="https://odin-lang.org/"
|
||||
|
||||
MY_PV="${PV/./-}"
|
||||
SRC_URI="https://github.com/odin-lang/Odin/archive/refs/tags/dev-${MY_PV}.tar.gz"
|
||||
|
||||
# Source directory; the dir where the sources can be found (automatically
|
||||
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
|
||||
# If you don't need to change it, leave the S= line out of the ebuild
|
||||
# to keep it tidy.
|
||||
S="${WORKDIR}/Odin-dev-${MY_PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
$(llvm_gen_dep "
|
||||
sys-devel/clang:${LLVM_SLOT}=
|
||||
sys-devel/llvm:${LLVM_SLOT}=
|
||||
")
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# build_odin.sh sets its own flags. Some gcc flags cause build failures
|
||||
CPPFLAGS=""
|
||||
CXXFLAGS=""
|
||||
src_compile() {
|
||||
./build_odin.sh release || die "failed to build odin"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto usr/lib/odin
|
||||
exeinto usr/lib/odin
|
||||
|
||||
doexe odin
|
||||
doins -r base core vendor
|
||||
dosym -r /usr/lib/odin/odin /usr/bin/odin
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue