1 ################################################################################
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
)
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
28 $(eval
$(generic-package
))