diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-03-04 09:21:57 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-03-04 09:21:57 +0100 |
commit | 4fc74012b67cfc62c5481b8d7b6d95052f40c2bf (patch) | |
tree | d6f7c860195c63564d98f53c143acbf0082ea3ca /package/libcap/Makefile | |
parent | 68b4cb5aaa95eb39401bcbaa7c517cfd31c3edcf (diff) | |
parent | 9919c4bc2f53037331313edace085c386c2af4cc (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libcap/Makefile')
-rw-r--r-- | package/libcap/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/package/libcap/Makefile b/package/libcap/Makefile index c7227abf3..a0d982b14 100644 --- a/package/libcap/Makefile +++ b/package/libcap/Makefile @@ -4,25 +4,31 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= libcap -PKG_VERSION:= 2.22 -PKG_RELEASE:= 3 +PKG_VERSION:= 2.24 +PKG_RELEASE:= 1 PKG_HASH:= 73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f PKG_DESCR:= capabilities library PKG_SECTION:= libs/misc -PKG_BUILDDEP:= pam PKG_URL:= http://www.friedhoff.org/posixfilecaps.html -PKG_SITES:= http://openadk.org/distfiles/ +PKG_SITES:= https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/ PKG_OPTS:= dev -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 - include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBCAP,libcap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +# for Darwin hosts CPPFLAGS_FOR_BUILD+= -I$(STAGING_TARGET_DIR)/usr/include CONFIG_STYLE:= manual +ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y) +ALL_TARGET:= static progs +INSTALL_TARGET:= install-static +else +ALL_TARGET:= shared progs +INSTALL_TARGET:= install-shared +endif + libcap-install: $(INSTALL_DIR) $(IDIR_LIBCAP)/usr/lib $(CP) $(WRKINST)/usr/lib/libcap*.so* \ |