diff options
Diffstat (limited to 'dev-util/samurai')
-rw-r--r-- | dev-util/samurai/Manifest | 1 | ||||
-rw-r--r-- | dev-util/samurai/metadata.xml | 15 | ||||
-rw-r--r-- | dev-util/samurai/samurai-1.2.ebuild | 21 | ||||
-rw-r--r-- | dev-util/samurai/samurai-9999.ebuild | 21 |
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/samurai/Manifest b/dev-util/samurai/Manifest new file mode 100644 index 000000000000..9bf19297f143 --- /dev/null +++ b/dev-util/samurai/Manifest @@ -0,0 +1 @@ +DIST samurai-1.2.tar.gz 32709 BLAKE2B 86ed79f7d6ab492216cf3bf0e19ff8be8c1ca37e5c99de84b457875fa710d720624bd0de53105ed0b1d382c417aeb7397929cb9a35a8d1b36a11e053bf8d7ff5 SHA512 bbe6a582c34b04f1df53b76c1647aa3e03c4698ebf7591a203935f11ffa05971bbcb86dc1a8c06aeb904cdc741abb08918122810fc47216fed0a6d9f87fd1225 diff --git a/dev-util/samurai/metadata.xml b/dev-util/samurai/metadata.xml new file mode 100644 index 000000000000..d367798815ac --- /dev/null +++ b/dev-util/samurai/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>orbea@riseup.net</email> + </maintainer> + <maintainer type="person"> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + <description>Proxy maintainer for Orbea</description> + </maintainer> + <upstream> + <remote-id type="github">michaelforney/samurai</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/samurai/samurai-1.2.ebuild b/dev-util/samurai/samurai-1.2.ebuild new file mode 100644 index 000000000000..dd005b2bcc39 --- /dev/null +++ b/dev-util/samurai/samurai-1.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="ninja-compatible build tool written in C" +HOMEPAGE="https://github.com/michaelforney/samurai" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/michaelforney/samurai.git" +else + SRC_URI="https://github.com/michaelforney/samurai/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~arm ~x86" +fi + +LICENSE="ISC Apache-2.0 MIT" +SLOT="0" + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install +} diff --git a/dev-util/samurai/samurai-9999.ebuild b/dev-util/samurai/samurai-9999.ebuild new file mode 100644 index 000000000000..dd005b2bcc39 --- /dev/null +++ b/dev-util/samurai/samurai-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="ninja-compatible build tool written in C" +HOMEPAGE="https://github.com/michaelforney/samurai" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/michaelforney/samurai.git" +else + SRC_URI="https://github.com/michaelforney/samurai/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~arm ~x86" +fi + +LICENSE="ISC Apache-2.0 MIT" +SLOT="0" + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install +} |