From 626b5ac24c725204c5d2a795e42a8e1408e231b5 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Fri, 15 Aug 2014 17:40:05 -0700 Subject: Add package widl Signed-off-by: Timothy Gu --- index.html | 4 ++++ src/widl.mk | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/widl.mk diff --git a/index.html b/index.html index d0c25aa..6b22973 100644 --- a/index.html +++ b/index.html @@ -2410,6 +2410,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) wget + widl + Wine IDL Compiler + + winpcap WinPcap diff --git a/src/widl.mk b/src/widl.mk new file mode 100644 index 0000000..602cf29 --- /dev/null +++ b/src/widl.mk @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +# WIDL is called "Wine IDL Compiler"; but we use mingw-w64's copy of it to +# avoid downloading Wine's entire tree. + +PKG := widl +$(PKG)_IGNORE = $(mingw-w64_IGNORE) +$(PKG)_VERSION = $(mingw-w64_VERSION) +$(PKG)_CHECKSUM = $(mingw-w64_CHECKSUM) +$(PKG)_SUBDIR = $(mingw-w64_SUBDIR) +$(PKG)_FILE = $(mingw-w64_FILE) +$(PKG)_URL = $(mingw-w64_URL) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo $(mingw-w64_VERSION) +endef + +define $(PKG)_BUILD + cd '$(1)/mingw-w64-tools/widl' && ./configure \ + --host='$(BUILD)' \ + --build='$(BUILD)' \ + --prefix='$(PREFIX)' \ + --target='$(TARGET)' + $(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install +endef -- cgit v0.12