[packages] SDL_sound: use PKG_INSTALL, disable all external libs use explicitely, don't ship dev shlib symlink, bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20102 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d18973698a
commit
3487aa7341
@ -9,12 +9,14 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libsdl-sound
|
PKG_NAME:=libsdl-sound
|
||||||
PKG_VERSION:=1.0.3
|
PKG_VERSION:=1.0.3
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=SDL_sound-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=SDL_sound-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://icculus.org/SDL_sound/downloads/
|
PKG_SOURCE_URL:=http://icculus.org/SDL_sound/downloads/
|
||||||
PKG_MD5SUM:=aa09cd52df85d29bee87a664424c94b5
|
PKG_MD5SUM:=aa09cd52df85d29bee87a664424c94b5
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/SDL_sound-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/SDL_sound-$(PKG_VERSION)
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -31,20 +33,14 @@ define Package/libsdl-sound/description
|
|||||||
of several popular sound file formats, such as .WAV and .MP3.
|
of several popular sound file formats, such as .WAV and .MP3.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-sdl-exec-prefix=$(STAGING_DIR)
|
--with-sdl-prefix="$(STAGING_DIR)/usr" \
|
||||||
|
--disable-flac \
|
||||||
CONFIGURE_VARS += \
|
--disable-mikmod \
|
||||||
LIBS="-lSDL -ldirect -ldirectfb -lfusion"
|
--disable-modplug \
|
||||||
|
--disable-ogg \
|
||||||
define Build/Compile
|
--disable-smpeg \
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
--disable-speex \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
all install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/SDL $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/include/SDL $(1)/usr/lib
|
||||||
@ -58,7 +54,7 @@ endef
|
|||||||
|
|
||||||
define Package/libsdl-sound/install
|
define Package/libsdl-sound/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libSDL_sound*.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libSDL_sound*.so.* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libsdl-sound))
|
$(eval $(call BuildPackage,libsdl-sound))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user