sys-process/dumb-init: Version bump to 1.2.1
authorManuel Rüger <mrueg@gentoo.org>
Mon, 29 Jan 2018 15:45:43 +0000 (16:45 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 29 Jan 2018 15:45:43 +0000 (16:45 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sys-process/dumb-init/Manifest
sys-process/dumb-init/dumb-init-1.2.1.ebuild [new file with mode: 0644]

index ad3f4242ed1c0b8b81d6c198b9d72660bcffa3b0..a2d2ffb14c2a120964008618da98c6a7e7bbdd4f 100644 (file)
@@ -1 +1,2 @@
 DIST dumb-init-1.2.0.tar.gz 23370 BLAKE2B 43bf4fb99090065310516a617fd507e1f32e3d210df09ac8d0d31736614e2a1bb248b399606493f86967759f3245b58018c4d832dcfa24267c29403b5aec43d2 SHA512 07f75771014c897b2e2f4de84b88ef5b829e19df81f6cbde0372a2f30ea78237af8e5cd6ab47b0a104606ea3b85c9883b86f777bc49bc428d52a32a4ff2ddad8
+DIST dumb-init-1.2.1.tar.gz 24472 BLAKE2B a2d18aca8e67f14a436ef5a23d5010339e803cadeeee5ec01145c9ddc0e000d2ec3f91b5342f57fb6ec63c174ac51e058ec14cc6d38dbe2d9a0fcad4a82ce4f9 SHA512 5a621caab17e322bf67f6b1eecfed7a0b4c59f2369f62745a7403343d0d01a800fb075b7579a51b5f68f404a0fb35220b937b7253d1e598dfd32d9360b84ddf4
diff --git a/sys-process/dumb-init/dumb-init-1.2.1.ebuild b/sys-process/dumb-init/dumb-init-1.2.1.ebuild
new file mode 100644 (file)
index 0000000..0108137
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="A minimal init system for Linux containers"
+HOMEPAGE="https://github.com/Yelp/dumb-init"
+SRC_URI="https://github.com/Yelp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+RESTRICT="test"
+
+src_prepare() {
+       default
+       use static && append-cflags -static
+       sed -e "s|^CFLAGS=.*|CFLAGS=-std=gnu99 ${CFLAGS}|" -i Makefile || die
+}
+
+src_compile() {
+       CC=$(tc-getCC) emake
+}
+
+src_install() {
+       dobin ${PN}
+       dodoc README.md
+}