Mercurial > mxe-octave
changeset 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 | 1d86cb0348ff |
children | cc348b770c37 |
files | binary-dist-rules.mk dist-files.mk index.html src/win7appid.mk |
diffstat | 4 files changed, 28 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/binary-dist-rules.mk Sun Jul 17 22:41:31 2016 -0400 +++ b/binary-dist-rules.mk Mon Jul 18 18:49:35 2016 -0400 @@ -13,7 +13,8 @@ TAR_H_OPTION := -h WINDOWS_BINARY_DIST_DEPS := \ msys-base \ - msys-base-sources + msys-base-sources \ + win7appid ifeq ($(MXE_NATIVE_BUILD),no) WINDOWS_BINARY_DIST_DEPS += \
--- a/dist-files.mk Sun Jul 17 22:41:31 2016 -0400 +++ b/dist-files.mk Mon Jul 18 18:49:35 2016 -0400 @@ -681,6 +681,7 @@ wavpack-1-exec_prefix.patch \ wavpack.mk \ wget.mk \ + win7appid.patch \ win64-nsis.patch \ winpcap-1-fixes.patch \ winpcap.mk \
--- a/index.html Sun Jul 17 22:41:31 2016 -0400 +++ b/index.html Mon Jul 18 18:49:35 2016 -0400 @@ -2350,6 +2350,10 @@ <td class="website"><a href="http://www.gnu.org/software/wget/">wget</a></td> </tr> <tr> + <td class="package">win7appid</td> + <td class="website"><a href="https://code.google.com/archive/p/win7appid/">Win7AppId</a></td> + </tr> + <tr> <td class="package">winpcap</td> <td class="website"><a href="http://www.winpcap.org/">WinPcap</a></td> </tr>
--- /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