summaryrefslogtreecommitdiff
path: root/package/s6-portable-utils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-03 20:44:23 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-03 20:45:28 +0200
commit17503c1de144fd5afcbfa23796c3d92a5f1cfde6 (patch)
treeca4749984b9cea7d93db5b30d4032b2ded0ba08e /package/s6-portable-utils
parent85f641f2252073f492fe356b5130e5c1fc1f8d32 (diff)
add basic support for s6 init system
Diffstat (limited to 'package/s6-portable-utils')
-rw-r--r--package/s6-portable-utils/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/s6-portable-utils/Makefile b/package/s6-portable-utils/Makefile
new file mode 100644
index 000000000..224e4fa59
--- /dev/null
+++ b/package/s6-portable-utils/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= s6-portable-utils
+PKG_VERSION:= 2.0.6.0
+PKG_RELEASE:= 1
+PKG_HASH:= 233b7d13766a23661cc7ed5c052f29b9c558c1d516a538a281a17da22a909d4b
+PKG_DESCR:= set of tiny general Unix utilities
+PKG_SECTION:= sys/misc
+PKG_DEPENDS:= skalibs
+PKG_BUILDDEP:= skalibs
+PKG_URL:= http://skarnet.org/software/s6-portable-utils/
+PKG_SITES:= http://skarnet.org/software/s6-portable-utils/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,S6_PORTABLE_UTILS,s6-portable-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIGURE_ARGS+= --with-sysdeps=$(STAGING_TARGET_DIR)/usr/lib/skalibs/sysdeps \
+ --with-include=$(STAGING_TARGET_DIR)/usr/include \
+ --with-dynlib=$(STAGING_TARGET_DIR)/usr/lib \
+ --disable-allstatic
+
+s6-portable-utils-install:
+ $(INSTALL_DIR) $(IDIR_S6_PORTABLE_UTILS)/usr/bin
+ $(CP) $(WRKINST)/usr/bin/* \
+ $(IDIR_S6_PORTABLE_UTILS)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk