python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libcrossguid / libcrossguid.mk
blob46d9a9dcc6bc5aa17c574b10763432e0b6fe3e3e
1 ################################################################################
3 # libcrossguid
5 ################################################################################
7 LIBCROSSGUID_VERSION = 8f399e8bd4252be9952f3dfa8199924cc8487ca4
8 LIBCROSSGUID_SITE = $(call github,graeme-hill,crossguid,$(LIBCROSSGUID_VERSION))
9 LIBCROSSGUID_LICENSE = MIT
10 LIBCROSSGUID_LICENSE_FILES = LICENSE
11 LIBCROSSGUID_INSTALL_STAGING = YES
12 # only a static library
13 LIBCROSSGUID_INSTALL_TARGET = NO
14 LIBCROSSGUID_DEPENDENCIES = util-linux
16 define LIBCROSSGUID_BUILD_CMDS
17 (cd $(@D); $(TARGET_CXX) $(TARGET_CXXFLAGS) -std=c++11 -DGUID_LIBUUID \
18 -c guid.cpp -o guid.o)
19 (cd $(@D); $(TARGET_AR) rvs libcrossguid.a guid.o)
20 endef
22 define LIBCROSSGUID_INSTALL_STAGING_CMDS
23 $(INSTALL) -D -m 644 $(@D)/libcrossguid.a \
24 $(STAGING_DIR)/usr/lib/libcrossguid.a
25 $(INSTALL) -D -m 644 $(@D)/guid.h $(STAGING_DIR)/usr/include/guid.h
26 endef
28 $(eval $(generic-package))