Changeset 21055


Ignore:
Timestamp:
2010-04-20T19:20:08+02:00 (8 years ago)
Author:
mirko
Message:

sox: cleanup (use PKG_INSTALL, make build more deterministic), make build depending on CONFIG_BUILD_PATENTED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/sound/sox/Makefile

    r15454 r21055  
    1919PKG_FIXUP = libtool 
    2020 
     21PKG_INSTALL:=1 
     22 
    2123include $(INCLUDE_DIR)/package.mk 
     24 
     25TARGET_LDFLAGS+= \ 
     26        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib 
    2227 
    2328# NOTE: libflac is out of date for 8.09's freeze and can't be compiled in 
     
    2631  SECTION:=sound 
    2732  CATEGORY:=Sound 
    28   DEPENDS:=+libmad +libvorbis +libvorbisidec +libgsm 
     33  DEPENDS:=+BUILD_PATENTED:lame-lib +BUILD_PATENTED:libmad +BUILD_PATENTED:libid3tag +libvorbis +libvorbisidec +libgsm 
    2934  TITLE:=Sox is a general purpose sound converter/player/recorder 
    3035  URL:=http://sox.sourceforge.net/ 
     
    4247        $(call Build/Configure/Default, \ 
    4348                --disable-external-gsm \ 
     49                --disable-oss \ 
     50                --enable-alsa \ 
     51                --disable-libao \ 
    4452                --without-libltdl \ 
    4553                --with-ogg \ 
     54                --without-flac \ 
     55                --without-ffmpeg \ 
     56                --without-amr-wb \ 
     57                --without-amr-nb \ 
     58                --without-samplerate \ 
     59                --without-ladspa \ 
     60                --$(if $(CONFIG_BUILD_PATENTED),with-mad,without-mad) \ 
     61                --$(if $(CONFIG_BUILD_PATENTED),with-lame,without-lame) \ 
     62                --$(if $(CONFIG_BUILD_PATENTED),with-id3tag,without-id3tag) \ 
    4663        ) 
    47 endef 
    48  
    49 define Build/Compile 
    50         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    51                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    52                 STAGING_DIR="$(STAGING_DIR)" \ 
    53                 all install 
    5464endef 
    5565 
Note: See TracChangeset for help on using the changeset viewer.