summaryrefslogtreecommitdiff
path: root/package/libxcrypt/Makefile
blob: 3d6bb2907fc8cdeaf2c0d5003844785fabd7607d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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