Changeset 20102


Ignore:
Timestamp:
2010-03-09T20:11:53+01:00 (8 years ago)
Author:
nico
Message:

[packages] SDL_sound: use PKG_INSTALL, disable all external libs use explicitely, don't ship dev shlib symlink, bump release number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libsdl_sound/Makefile

    r19038 r20102  
    1010PKG_NAME:=libsdl-sound 
    1111PKG_VERSION:=1.0.3 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=SDL_sound-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://icculus.org/SDL_sound/downloads/ 
    1616PKG_MD5SUM:=aa09cd52df85d29bee87a664424c94b5 
     17 
    1718PKG_BUILD_DIR:=$(BUILD_DIR)/SDL_sound-$(PKG_VERSION) 
     19PKG_INSTALL:=1 
    1820 
    1921include $(INCLUDE_DIR)/package.mk 
     
    3234endef 
    3335 
    34 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL 
    35  
    3636CONFIGURE_ARGS += \ 
    37         --with-sdl-exec-prefix=$(STAGING_DIR) 
    38  
    39 CONFIGURE_VARS += \ 
    40         LIBS="-lSDL -ldirect -ldirectfb -lfusion" 
    41  
    42 define Build/Compile 
    43         rm -rf $(PKG_INSTALL_DIR) 
    44         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    45                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    46                 all install 
    47 endef 
     37        --with-sdl-prefix="$(STAGING_DIR)/usr" \ 
     38        --disable-flac \ 
     39        --disable-mikmod \ 
     40        --disable-modplug \ 
     41        --disable-ogg \ 
     42        --disable-smpeg \ 
     43        --disable-speex \ 
    4844 
    4945define Build/InstallDev 
     
    5955define Package/libsdl-sound/install 
    6056        $(INSTALL_DIR) $(1)/usr/lib 
    61         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libSDL_sound*.so* $(1)/usr/lib/ 
     57        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libSDL_sound*.so.* $(1)/usr/lib/ 
    6258endef 
    6359 
Note: See TracChangeset for help on using the changeset viewer.