summaryrefslogtreecommitdiff
path: root/package/shadow/Makefile
blob: 3e9dc1215ba7994489981a3c445b036903cec755 (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:=		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