diff src/win7appid.mk @ 4174:2b631cf1c210

win7appid: new package * src/win7appid.mk: new file * index.html: add ref to win7appid * dist-files.mk: add win7appid.mk * binary-dist-rules.mk: add win7appid to windows dist deps.
author John Donoghue <john.donoghue@ieee.org>
date Mon, 18 Jul 2016 18:49:35 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/win7appid.mk	Mon Jul 18 18:49:35 2016 -0400
@@ -0,0 +1,21 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := win7appid
+$(PKG)_VERSION  := 1.1
+$(PKG)_CHECKSUM := d726a5832d7a3f49bd7912ca08c70aad96eb95b4
+$(PKG)_SUBDIR   := $(PKG)
+$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).zip
+$(PKG)_URL      := https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/win7appid/source-archive.zip
+$(PKG)_DEPS     := 
+
+define $(PKG)_UPDATE
+    echo $($(PKG)_VERSION)
+endef
+
+define $(PKG)_BUILD
+    cd '$(1)/trunk/' && \
+      $(MXE_CXX) Win7AppId.cpp -municode -DWIN32_LEAN_AND_MEAN=1 -DUNICODE -D_UNICODE -lole32 -o win7appid.exe
+    mkdir -p '$(3)$(HOST_BINDIR)'
+    $(INSTALL) '$(1)/trunk/win7appid.exe' '$(3)$(HOST_BINDIR)/'
+endef