summaryrefslogtreecommitdiff
path: root/package/gradm/Makefile
blob: 26e26959b850fcd26846b9ae0290d6a264702bec (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:=		gradm
PKG_VERSION:=		3.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		a03b07fe0de47cac72f3edd4cf42d811
PKG_DESCR:=		rbac administration utility
PKG_SECTION:=		sys/misc
PKG_URL:=		http://grsecurity.net/
PKG_SITES:=		http://grsecurity.net/stable/

WRKDIST=		${WRKDIR}/${PKG_NAME}
DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}-201405281853.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,GRADM,gradm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
XAKE_FLAGS+=		BISON=bison FLEX=flex

gradm-install:
	$(INSTALL_DIR) $(IDIR_GRADM)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/sbin/gr* \
		$(IDIR_GRADM)/usr/sbin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk