diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2012-04-12 15:23:12 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2012-04-12 15:23:12 (GMT) |
commit | 1f86817ee82b162a1a5bd495886183ca81a68ba7 (patch) | |
tree | 3116df65f83174295af8c6315a36583f460fe9e0 /src/sdl.mk | |
parent | 0f01e5e88f720fe5073c88f5cf1803d5c283904d (diff) | |
parent | e513258770cdc39c0d6a904437f191aa61b3175c (diff) | |
download | mxe-2.22.zip mxe-2.22.tar.gz mxe-2.22.tar.bz2 |
Merge all well-tested changes into the stable branchv2.22
Diffstat (limited to 'src/sdl.mk')
-rw-r--r-- | src/sdl.mk | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -1,21 +1,17 @@ -# This file is part of mingw-cross-env. -# See doc/index.html for further information. +# This file is part of MXE. +# See index.html for further information. -# SDL PKG := sdl $(PKG)_IGNORE := -$(PKG)_VERSION := 1.2.14 -$(PKG)_CHECKSUM := ba625b4b404589b97e92d7acd165992debe576dd +$(PKG)_CHECKSUM := 0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c $(PKG)_SUBDIR := SDL-$($(PKG)_VERSION) $(PKG)_FILE := SDL-$($(PKG)_VERSION).tar.gz -$(PKG)_WEBSITE := http://www.libsdl.org/ $(PKG)_URL := http://www.libsdl.org/release/$($(PKG)_FILE) $(PKG)_DEPS := gcc libiconv define $(PKG)_UPDATE - wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL/?sortby=date' | \ - grep '<a name="' | \ - $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \ + wget -q -O- 'http://hg.libsdl.org/SDL/tags' | \ + $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \ head -1 endef @@ -30,7 +26,7 @@ define $(PKG)_BUILD --disable-stdio-redirect $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= - ln -sf $(PREFIX)/$(TARGET)/bin/sdl-config $(PREFIX)/bin/$(TARGET)-sdl-config + ln -sf '$(PREFIX)/$(TARGET)/bin/sdl-config' '$(PREFIX)/bin/$(TARGET)-sdl-config' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ |