summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-13 12:49:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-13 12:49:53 +0200
commit5e8d3084c6d5b0d3b3e5982285360affa6b8a09a (patch)
tree07c492cf7a743446c5d1577be50027e2433a40ab /package
parent5894347dd448e522739b2421cfec7524290edbe5 (diff)
libxcrypt: new package, glibc removed crypt()
Diffstat (limited to 'package')
-rw-r--r--package/libxcrypt/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libxcrypt/Makefile b/package/libxcrypt/Makefile
new file mode 100644
index 000000000..3d6bb2907
--- /dev/null
+++ b/package/libxcrypt/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:= libxcrypt
+PKG_VERSION:= 4.4.36
+PKG_RELEASE:= 1
+PKG_HASH:= b979838d5f1f238869d467484793b72b8bca64c4eae696fdbba0a9e0b6c28453
+PKG_DESCR:= crypt library
+PKG_SECTION:= libs/crypto
+PKG_SITES:= https://github.com/besser82/libxcrypt/archive/refs/tags/
+PKG_OPTS:= dev
+
+PKG_LIBC_DEPENDS:= glibc
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBXCRYPT,libxcrypt,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+AUTOTOOL_STYLE:= autogen
+
+libxcrypt-install:
+ $(INSTALL_DIR) $(IDIR_LIBXCRYPT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/lib*crypt*.so* \
+ $(IDIR_LIBXCRYPT)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk