new package: gendef

Like widl, the code ships with mingw-w64. This tool is useful
for generating .def files from dlls, especially x86_64 dlls.
This commit is contained in:
Mark Brand 2014-11-22 19:39:00 +01:00
parent 579bddf713
commit cac8ed106f
2 changed files with 28 additions and 0 deletions

View File

@ -1369,6 +1369,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">gdk-pixbuf</td>
<td class="website"><a href="http://www.gdk-pixbuf.org/">GDK-pixbuf</a></td>
</tr>
<tr>
<td class="package">gendef</td>
<td class="website"><a href="http://sourceforge.net/p/mingw-w64/wiki2/gendef/"</a></td>
</tr>
<tr>
<td class="package">geos</td>
<td class="website"><a href="http://trac.osgeo.org/geos/">GEOS</a></td>

24
src/gendef.mk Normal file
View File

@ -0,0 +1,24 @@
# This file is part of MXE.
# See index.html for further information.
PKG := gendef
$(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/gendef' && ./configure \
--host='$(BUILD)' \
--build='$(BUILD)' \
--prefix='$(PREFIX)' \
--target='$(TARGET)'
$(MAKE) -C '$(1)/mingw-w64-tools/gendef' -j '$(JOBS)' install
endef