Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= audit
  5. PKG_VERSION:= 2.6.7
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 8923917332daa7833bbc0c1d9eb012167093fbad000da4a9630fb3356aff8cdc
  8. PKG_DESCR:= audit library
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= http://people.redhat.com/sgrubb/audit
  11. PKG_SITES:= http://people.redhat.com/sgrubb/audit/
  12. PKG_OPTS:= dev
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,AUDIT,audit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  16. ifeq ($(OS_FOR_BUILD),Darwin)
  17. HOST_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include
  18. endif
  19. CONFIGURE_ARGS+= --without-python \
  20. --without-python3 \
  21. --without-libcap-ng \
  22. --disable-zos-remote
  23. audit-install:
  24. $(INSTALL_DIR) $(IDIR_AUDIT)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/libaudit*.so* \
  26. $(IDIR_AUDIT)/usr/lib
  27. include $(ADK_TOPDIR)/mk/pkg-bottom.mk