summaryrefslogtreecommitdiff
path: root/package/audit/Makefile
blob: 8f6eea1a0606e5c36f8f06bcf88a858f2a727694 (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
33
34
35
36
# 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:=		audit
PKG_VERSION:=		2.6.7
PKG_RELEASE:=		1
PKG_HASH:=		8923917332daa7833bbc0c1d9eb012167093fbad000da4a9630fb3356aff8cdc
PKG_DESCR:=		audit library
PKG_SECTION:=		libs/misc
PKG_URL:=		http://people.redhat.com/sgrubb/audit
PKG_SITES:=		http://people.redhat.com/sgrubb/audit/
PKG_OPTS:=		dev

DISTFILES:=             $(PKG_NAME)-$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,AUDIT,audit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

ifeq ($(OS_FOR_BUILD),Darwin)
HOST_CFLAGS+=		-I$(STAGING_TARGET_DIR)/usr/include
endif

CONFIGURE_ARGS+=	--without-python \
			--without-python3 \
			--without-libcap-ng \
			--disable-zos-remote

audit-install:
	$(INSTALL_DIR) $(IDIR_AUDIT)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libaudit*.so* \
		$(IDIR_AUDIT)/usr/lib

include $(ADK_TOPDIR)/mk/pkg-bottom.mk