summaryrefslogtreecommitdiff
path: root/package/shadow/Makefile
blob: bdcf4594455bebf255340b04f7dd8d0f16d1518a (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
31
32
# 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.14.3
PKG_RELEASE:=		1
PKG_HASH:=		6969279236fe3152768573a38c9f83cb9ca109851a5a990aec1fc672ac2cfcd2
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/$(PKG_VERSION)/

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,SHADOW,shadow,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

CONFIGURE_ARGS+=	--without-libbsd

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