summaryrefslogtreecommitdiff
path: root/package/libcrossguid
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-02-27 20:32:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-02-27 20:44:50 +0100
commit8235f794e74f3325317d2c362d53522cc3ba9390 (patch)
treee7e680afad72905161b60a430a19ed31c2945931 /package/libcrossguid
parent86486336e5012b7e632b58ad59bafb5211d91499 (diff)
kodi: update to Jarvis
Diffstat (limited to 'package/libcrossguid')
-rw-r--r--package/libcrossguid/Makefile42
-rw-r--r--package/libcrossguid/guid.obin0 -> 9148 bytes
2 files changed, 42 insertions, 0 deletions
diff --git a/package/libcrossguid/Makefile b/package/libcrossguid/Makefile
new file mode 100644
index 000000000..54749eeef
--- /dev/null
+++ b/package/libcrossguid/Makefile
@@ -0,0 +1,42 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libcrossguid
+PKG_VERSION:= 8f399e8bd4252be9952f3dfa8199924cc8487ca4
+PKG_RELEASE:= 1
+PKG_DESCR:= c++ guid library
+PKG_SECTION:= libs/misc
+PKG_URL:= https://github.com/graeme-hill/crossguid
+PKG_SITES:= https://github.com/graeme-hill/crossguid.git
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBCROSSGUID,libcrossguid,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+TARGET_CPPFLAGS+= -DGUID_LIBUUID
+TARGET_CXXFLAGS+= -std=c++11
+
+do-build:
+ $(TARGET_CXX) $(TARGET_CPPFLAGS) $(TARGET_CXXFLAGS) $(TARGET_LDFLAGS) \
+ -c -o $(WRKBUILD)/guid.o $(WRKBUILD)/guid.cpp
+ $(TARGET_AR) rvs $(WRKBUILD)/libcrossguid.a $(WRKBUILD)/guid.o
+
+do-install:
+ $(INSTALL_DIR) $(WRKINST)/usr/lib
+ $(INSTALL_DIR) $(WRKINST)/usr/include
+ $(CP) $(WRKBUILD)/libcrossguid.a $(WRKINST)/usr/lib
+ $(CP) $(WRKBUILD)/guid.h $(WRKINST)/usr/include
+
+libcrossguid-install:
+ $(INSTALL_DIR) $(IDIR_LIBCROSSGUID)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libcrossguid.a \
+ $(IDIR_LIBCROSSGUID)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/libcrossguid/guid.o b/package/libcrossguid/guid.o
new file mode 100644
index 000000000..127591802
--- /dev/null
+++ b/package/libcrossguid/guid.o
Binary files differ