mirror of https://git.wownero.com/dsc/mxe.git
Add package widl
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
b16d891ed3
commit
626b5ac24c
|
@ -2409,6 +2409,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
<td class="package">wget</td>
|
||||
<td class="website"><a href="https://www.gnu.org/software/wget/">wget</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">widl</td>
|
||||
<td class="website"><a href="https://www.winehq.org/docs/widl/">Wine IDL Compiler</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">winpcap</td>
|
||||
<td class="website"><a href="http://www.winpcap.org/">WinPcap</a></td>
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue