1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
10 PKG_DESCR
:= capabilities library
11 PKG_SECTION
:= libs
/misc
12 PKG_URL
:= http
://www.friedhoff.org
/posixfilecaps.html
13 PKG_SITES
:= https
://www.kernel.org
/pub
/linux
/libs
/security
/linux-privs
/libcap2
/
16 include $(ADK_TOPDIR
)/mk
/host.mk
17 include $(ADK_TOPDIR
)/mk
/package.mk
19 $(eval
$(call HOST_template
,LIBCAP
,libcap
,$(PKG_VERSION
)-$(PKG_RELEASE
)))
20 $(eval
$(call PKG_template
,LIBCAP
,libcap
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
),$(PKG_OPTS
)))
22 ifeq ($(OS_FOR_BUILD
),Darwin
)
23 HOST_CFLAGS
+= -I
$(STAGING_TARGET_DIR
)/usr
/include
30 (cd
${WRKBUILD} && env
${HOST_MAKE_ENV} ${MAKE} -f
${MAKE_FILE} \
31 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE
)
34 cd
${WRKBUILD} && env
${HOST_MAKE_ENV} ${MAKE} -f
${MAKE_FILE} \
35 ${HOST_FAKE_FLAGS} DESTDIR
='${STAGING_HOST_DIR}' ${HOST_INSTALL_TARGET} $(MAKE_TRACE
)
38 $(INSTALL_DIR
) $(IDIR_LIBCAP
)/usr
/lib
39 $(CP
) $(WRKINST
)/usr
/lib
/libcap
*.so
* \
40 $(IDIR_LIBCAP
)/usr
/lib
42 include $(ADK_TOPDIR
)/mk
/host-bottom.mk
43 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk