summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/s6-rc/Manifest1
-rw-r--r--sys-apps/s6-rc/s6-rc-0.0.3.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/s6-rc/Manifest b/sys-apps/s6-rc/Manifest
index bdda592a3fcb..76f086237b77 100644
--- a/sys-apps/s6-rc/Manifest
+++ b/sys-apps/s6-rc/Manifest
@@ -1 +1,2 @@
DIST s6-rc-0.0.2.1.tar.gz 85549 SHA256 93f30557e2e2e5c507b5becef2bd26f377be6b6c542fb4627c3122e1c2d83ef9 SHA512 9a83e272ba521e5ede17ded6b6143797d70205c6631fd08bdb9cbefc66e8ab6011de68e94876ec3c7af439ffbff21778207507db74f0ae91117e88fe36a7f65c WHIRLPOOL f10e515db0106816fb3c79c46dea0f171ac89653f326b9287aeccb1a9cc369fb6e6fec40c43eb3c3863763081608ec7cccf780cb8bcaaee7303e6c5d106c082d
+DIST s6-rc-0.0.3.0.tar.gz 86992 SHA256 5eb94e77961a075e6305e89e3a5c7e6c95fb7037682d4ea45277c1ab1625892e SHA512 66fe8cf1937671d3b6c06e7aca40e5b94502ca12a659b50e8120a178295084272091a378e8bbf9f69c560fbc69ca10ffdf08763cbd714ed2411d0d558437e325 WHIRLPOOL 54c1bddc6254eadf428806920f9cdf567cbb77d4496d7b8afd2b9c9daee5159719160a63f2ef257eb6bc86726161356864df070a80ed8acb3d3f7e0c8c748518
diff --git a/sys-apps/s6-rc/s6-rc-0.0.3.0.ebuild b/sys-apps/s6-rc/s6-rc-0.0.3.0.ebuild
new file mode 100644
index 000000000000..3d78816e186a
--- /dev/null
+++ b/sys-apps/s6-rc/s6-rc-0.0.3.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Service manager for the s6 supervision suite"
+HOMEPAGE="http://www.skarnet.org/software/s6-rc/"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static static-libs"
+
+DEPEND="
+ static? (
+ >=dev-lang/execline-2.1.5.0[static-libs]
+ >=dev-libs/skalibs-2.3.10.0[static-libs]
+ >=sys-apps/s6-2.3.0.0[static-libs]
+ )
+ !static? (
+ >=dev-lang/execline-2.1.5.0
+ >=dev-libs/skalibs-2.3.10.0
+ >=sys-apps/s6-2.3.0.0
+ )
+ "
+RDEPEND="
+ !static? (
+ >=dev-lang/execline-2.1.5.0
+ >=dev-libs/skalibs-2.3.10.0
+ >=sys-apps/s6-2.3.0.0
+ )
+ "
+
+DOCS=("examples/")
+HTML_DOCS=("doc/.")
+
+src_prepare()
+{
+ # Remove QA warning about LDFLAGS addition
+ sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
+
+ eapply_user
+}
+
+src_configure()
+{
+ econf \
+ $(use_enable !static shared) \
+ $(use_enable static-libs static) \
+ $(use_enable static allstatic) \
+ --bindir=/bin \
+ --sbindir=/sbin \
+ --dynlibdir=/$(get_libdir) \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --datadir=/etc \
+ --sysdepdir=/usr/$(get_libdir)/${PN} \
+ --with-dynlib=/$(get_libdir) \
+ --with-sysdeps=/usr/$(get_libdir)/skalibs
+}