Commit 72959a53 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: add SDL

parent 035e0d75
61ab65661492038d319b83521a27dc80dc71c76b63965ec094c9f53fbb76466e612d119297f9797d62147a0641808136181d0926e8082cb9b3e8d2a8e688a8b2 SDL-1.2.14.tar.gz
# SDL
SDL_VERSION := 1.2.14
SDL_URL := http://www.libsdl.org/release/SDL-$(SDL_VERSION).tar.gz
PKGS += sdl
ifeq ($(call need_pkg,"sdl"),)
PKGS_FOUND += sdl
endif
$(TARBALLS)/SDL-$(SDL_VERSION).tar.gz:
$(call download,$(SDL_URL))
.sum-sdl: SDL-$(SDL_VERSION).tar.gz
sdl: SDL-$(SDL_VERSION).tar.gz .sum-sdl
$(UNPACK)
$(MOVE)
SDLCONF := $(HOSTCONF) \
--disable-video-x11 \
--disable-video-aalib \
--disable-video-dga \
--disable-video-fbcon \
--disable-video-directfb \
--disable-video-ggi \
--disable-video-svga \
--disable-directx \
--disable-joystick \
--disable-cdrom \
--disable-threads \
--disable-sdl-dlopen
.sdl: sdl
cd $< && $(HOSTVARS) ./configure $(SDLCONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment