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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
643
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # DirectX
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := directx
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 8.0
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := dd214d0ab1c202fa2c458850861c07926f929b8b
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := .
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := dx$(subst .,,$($(PKG)_VERSION))_mgw.zip
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://msdn.microsoft.com/directx/
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://alleg.sourceforge.net/files/$($(PKG)_FILE)
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := w32api
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://alleg.sourceforge.net/wip.html' | \
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*dx\([0-9]\)\([^>]*\)_mgw\.zip.*,\1.\2,p' | \
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 tail -1
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 $(INSTALL) -m644 '$(1)/include/'*.h '$(PREFIX)/$(TARGET)/include/'
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(INSTALL) -m644 '$(1)/include/'*.inl '$(PREFIX)/$(TARGET)/include/'
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(INSTALL) -m644 '$(1)/lib/'*.a '$(PREFIX)/$(TARGET)/lib/'
2d6c69bdc507 new package: directx
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef