summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-06-29 12:35:01 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-06-29 12:35:37 -0500
commit1e6fbb1f12400c1d238cddb951be7f9ce26168e1 (patch)
treee8082e9dad96f4f4fc385c1c9e9ed5003578b0b6 /sys-apps
parentsys-apps/s6-linux-utils: 2.1.0.0 version bump (diff)
downloadgentoo-1e6fbb1f12400c1d238cddb951be7f9ce26168e1.tar.gz
gentoo-1e6fbb1f12400c1d238cddb951be7f9ce26168e1.tar.bz2
gentoo-1e6fbb1f12400c1d238cddb951be7f9ce26168e1.zip
sys-apps/s6-linux-init: 0.1.0.0 version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/s6-linux-init/Manifest1
-rw-r--r--sys-apps/s6-linux-init/s6-linux-init-0.1.0.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/s6-linux-init/Manifest b/sys-apps/s6-linux-init/Manifest
index a6cca2a444e2..af73e4d0a412 100644
--- a/sys-apps/s6-linux-init/Manifest
+++ b/sys-apps/s6-linux-init/Manifest
@@ -1 +1,2 @@
DIST s6-linux-init-0.0.1.4.tar.gz 21493 SHA256 80eeb8e3bf3095d69b86aaf8e6f5c28aab53a0eb6473e301a673870b56566b6a SHA512 84fabc9720f2aa2c68723c7b34023a8971f9e55c367b69c200c9c99d2c04bd23b598563facaca4deb4a11f732be3016361e38a40258a7d0ce68cb0f3c10a0235 WHIRLPOOL 55f6c6cac544b6c9ffa5b5f16639a20a47b1ba2ae61cdfe5c1446c254a11801cfab4f211c2b55c7381a37ff76509a06b25d2ec8710ec32f1682ee186efc8b805
+DIST s6-linux-init-0.1.0.0.tar.gz 22242 SHA256 4db16d235dc052f6376f4e88e5e4c0dd1cb84237e7eadb9eb4b440eececcaffc SHA512 8898ac09212d33d4160d0a1ccad4f6f24ed8010a16815daec4a68827f7af1948568807ae2063bb1f0fe901b87f605eb3cd199d0a3e9a217255b77ed4fc9eef08 WHIRLPOOL 4eed683de5c0846698c1d603e7be72299a425f1f91e3f944da98ed5fb0d9d988db1fb1931ec86ec41f837dab0b51bd61f828b2763c21ac520037021831e47543
diff --git a/sys-apps/s6-linux-init/s6-linux-init-0.1.0.0.ebuild b/sys-apps/s6-linux-init/s6-linux-init-0.1.0.0.ebuild
new file mode 100644
index 000000000000..795f9163bcdb
--- /dev/null
+++ b/sys-apps/s6-linux-init/s6-linux-init-0.1.0.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Generates an init binary for s6-based init systems"
+HOMEPAGE="http://www.skarnet.org/software/s6-linux-init/"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+
+DEPEND="
+ static? ( >=dev-libs/skalibs-2.3.10.0[static-libs] )
+ !static? ( >=dev-libs/skalibs-2.3.10.0 )
+ "
+RDEPEND="
+ !static? ( >=dev-libs/skalibs-2.3.10.0 )
+ "
+
+DOCS=(INSTALL 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) \
+ $(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
+}
+
+pkg_postinst()
+{
+ einfo "The generated init script requires additional packages."
+ einfo "Read ${ROOT}usr/share/doc/${PF}/INSTALL for details."
+}