summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-09 18:25:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-09 18:25:47 +0100
commit1e31fcc92ce4502860f6f6fd8be9eb501c5ddc53 (patch)
tree5e98aafe4bc6775f30da9f5d0c534f71c7dab052 /package
parent05ddb661a3d588a67a31f7e014a899187e8e6458 (diff)
shadow: new package
Diffstat (limited to 'package')
-rw-r--r--package/shadow/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/shadow/Makefile b/package/shadow/Makefile
new file mode 100644
index 000000000..3e9dc1215
--- /dev/null
+++ b/package/shadow/Makefile
@@ -0,0 +1,30 @@
+# 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:= shadow
+PKG_VERSION:= 4.13
+PKG_RELEASE:= 1
+PKG_HASH:= 9afe245d79a2e7caac5f1ed62519b17416b057ec89df316df1c3935502f9dd2c
+PKG_DESCR:= utilities to deal with user accounts
+PKG_BUILDDEP_GLIBC:= libxcrypt
+PKG_SECTION:= sys/utils
+PKG_SITES:= https://github.com/shadow-maint/shadow/releases/download/4.13/
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SHADOW,shadow,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+shadow-install:
+ $(INSTALL_DIR) $(IDIR_SHADOW)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
+ $(IDIR_SHADOW)/usr/bin
+ $(INSTALL_DIR) $(IDIR_SHADOW)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/* \
+ $(IDIR_SHADOW)/usr/sbin
+ $(INSTALL_DIR) $(IDIR_SHADOW)/lib
+ $(CP) $(WRKINST)/lib/*.so* \
+ $(IDIR_SHADOW)/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk