summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 00:15:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 00:15:58 +0000
commit6139aa18508e45b1529de87e884d25fc2400e1f9 (patch)
tree00fefba6fb0c2a04e74359691fd85aad1c179934 /package
parent9490bdc53c8b3a5f820d864ea175d27d0f6c2bd3 (diff)
version bump to 1.2.9 and merge staging_dir fixes by Patrick Noffke
Diffstat (limited to 'package')
-rw-r--r--package/sdl/sdl.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 3ce2967c2..5c3fa9eb0 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -3,7 +3,7 @@
# SDL
#
#############################################################
-SDL_VERSION:=1.2.8
+SDL_VERSION:=1.2.9
SDL_SOURCE:=SDL-$(SDL_VERSION).tar.gz
SDL_SITE:=http://www.libsdl.org/release
SDL_CAT:=zcat
@@ -26,7 +26,7 @@ $(SDL_DIR)/.configured: $(SDL_DIR)/.unpacked
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
- --prefix=/usr \
+ --prefix=$(STAGING_DIR)/usr \
--disable-esd \
--disable-video-x11 );
touch $(SDL_DIR)/.configured
@@ -36,14 +36,16 @@ $(SDL_DIR)/.compiled: $(SDL_DIR)/.configured
touch $(SDL_DIR)/.compiled
$(STAGING_DIR)/usr/lib/libSDL.so: $(SDL_DIR)/.compiled
- $(MAKE) -C $(SDL_DIR) DESTDIR=$(STAGING_DIR) install
+ $(MAKE) -C $(SDL_DIR) install
+ (cd $(STAGING_DIR)/usr/bin; \
+ ln -sf $(GNU_TARGET_NAME)-sdl-config sdl-config );
touch -c $(STAGING_DIR)/usr/lib/libSDL.so
$(TARGET_DIR)/usr/lib/libSDL.so: $(STAGING_DIR)/usr/lib/libSDL.so
cp -dpf $(STAGING_DIR)/usr/lib/libSDL*.so* $(TARGET_DIR)/usr/lib/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libSDL.so
-sdl: uclibc $(TARGET_DIR)/usr/lib/libSDL.so
+SDL sdl: uclibc $(TARGET_DIR)/usr/lib/libSDL.so
sdl-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(SDL_DIR) uninstall