mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-util/haredo: new package, add 9999
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
1
dev-util/haredo/Manifest
Normal file
1
dev-util/haredo/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST haredo-1.0.2.tar.gz 374632 BLAKE2B 3e17f3a153d5559e6d8b64d9bc84114bd49fe481cb8528653a4dba3337ae393d060e8c68429b03059d3afcbda2467e9ee5e774aa5994ce3818679315dd2f2f20 SHA512 2bad1ebffa4a6a56916481ada556dcc85c19d90697ff8ee7cad126581099a6efe9f0498d400dc9a15e13e7999cdd375500f2eedbc863d736003fc190f780a0b4
|
||||
37
dev-util/haredo/haredo-1.0.2.ebuild
Normal file
37
dev-util/haredo/haredo-1.0.2.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~autumnull/haredo"
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~autumnull/haredo/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="a simple and unix-idiomatic build automator"
|
||||
HOMEPAGE="https://git.sr.ht/~autumnull/haredo"
|
||||
LICENSE="WTFPL-2"
|
||||
|
||||
DEPEND="dev-lang/hare:="
|
||||
BDEPEND="app-text/scdoc"
|
||||
|
||||
# binaries are hare-built
|
||||
QA_FLAGS_IGNORED="usr/bin/.*"
|
||||
|
||||
src_configure() {
|
||||
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
||||
|
||||
#sed -i \
|
||||
# -e 's;^PREFIX=.*;PREFIX=/usr;' \
|
||||
# -e 's;^CC=.*;CC=${CC:-c99};' \
|
||||
# test/conf.do || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH="${S}/bin:$PATH" ./bin/haredo test || die
|
||||
}
|
||||
37
dev-util/haredo/haredo-9999.ebuild
Normal file
37
dev-util/haredo/haredo-9999.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~autumnull/haredo"
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~autumnull/haredo/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="a simple and unix-idiomatic build automator"
|
||||
HOMEPAGE="https://git.sr.ht/~autumnull/haredo"
|
||||
LICENSE="WTFPL-2"
|
||||
|
||||
DEPEND="dev-lang/hare:="
|
||||
BDEPEND="app-text/scdoc"
|
||||
|
||||
# binaries are hare-built
|
||||
QA_FLAGS_IGNORED="usr/bin/.*"
|
||||
|
||||
src_configure() {
|
||||
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e 's;^PREFIX=.*;PREFIX=/usr;' \
|
||||
-e 's;^CC=.*;CC=${CC:-c99};' \
|
||||
test/conf.do || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH="${S}/bin:$PATH" ./bin/haredo test || die
|
||||
}
|
||||
8
dev-util/haredo/metadata.xml
Normal file
8
dev-util/haredo/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user