Mercurial > mxe-octave
annotate src/directx.mk @ 714:29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 08 Feb 2010 00:58:06 +0100 |
parents | bfb5942cbc0c |
children |
rev | line source |
---|---|
643 | 1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
644
diff
changeset
|
2 # See doc/index.html for further information. |
643 | 3 |
4 # DirectX | |
5 PKG := directx | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 8.0 | |
8 $(PKG)_CHECKSUM := dd214d0ab1c202fa2c458850861c07926f929b8b | |
9 $(PKG)_SUBDIR := . | |
10 $(PKG)_FILE := dx$(subst .,,$($(PKG)_VERSION))_mgw.zip | |
11 $(PKG)_WEBSITE := http://msdn.microsoft.com/directx/ | |
12 $(PKG)_URL := http://alleg.sourceforge.net/files/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := w32api | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://alleg.sourceforge.net/wip.html' | \ | |
17 $(SED) -n 's,.*dx\([0-9]\)\([^>]*\)_mgw\.zip.*,\1.\2,p' | \ | |
18 tail -1 | |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' | |
23 $(INSTALL) -m644 '$(1)/include/'*.h '$(PREFIX)/$(TARGET)/include/' | |
24 $(INSTALL) -m644 '$(1)/include/'*.inl '$(PREFIX)/$(TARGET)/include/' | |
25 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' | |
26 $(INSTALL) -m644 '$(1)/lib/'*.a '$(PREFIX)/$(TARGET)/lib/' | |
27 endef |