svn commit: trunk/buildroot/package/sdl

vapier at uclibc.org vapier at uclibc.org
Thu Sep 8 00:16:03 UTC 2005


Author: vapier
Date: 2005-09-07 17:15:58 -0700 (Wed, 07 Sep 2005)
New Revision: 11359

Log:
version bump to 1.2.9 and merge staging_dir fixes by Patrick Noffke

Modified:
   trunk/buildroot/package/sdl/sdl.mk


Changeset:
Modified: trunk/buildroot/package/sdl/sdl.mk
===================================================================
--- trunk/buildroot/package/sdl/sdl.mk	2005-09-08 00:09:40 UTC (rev 11358)
+++ trunk/buildroot/package/sdl/sdl.mk	2005-09-08 00:15:58 UTC (rev 11359)
@@ -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 @@
 	--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 @@
 	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




More information about the uClibc-cvs mailing list