btrfs-progs: bump version to 4.8.3
[buildroot-gz.git] / package / speex / speex.mk
bloba34bfaca8958e7ca91b0b31c56ad6c02e488648d
1 ################################################################################
3 # speex
5 ################################################################################
7 SPEEX_VERSION = 1.2rc1
8 SPEEX_SITE = http://downloads.us.xiph.org/releases/speex
9 SPEEX_LICENSE = BSD-3c
10 SPEEX_LICENSE_FILES = COPYING
12 SPEEX_INSTALL_STAGING = YES
13 SPEEX_DEPENDENCIES = libogg
14 SPEEX_CONF_OPTS = \
15 --with-ogg-libraries=$(STAGING_DIR)/usr/lib \
16 --with-ogg-includes=$(STAGING_DIR)/usr/include \
17 --enable-fixed-point
19 ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y)
20 SPEEX_CONF_OPTS += --enable-arm4-asm
21 endif
23 ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y)
24 SPEEX_CONF_OPTS += --enable-arm5e-asm
25 endif
27 define SPEEX_LIBTOOL_FIXUP
28 $(SED) 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $(@D)/libtool
29 $(SED) 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $(@D)/libtool
30 endef
32 SPEEX_POST_CONFIGURE_HOOKS += SPEEX_LIBTOOL_FIXUP
34 define SPEEX_BUILD_CMDS
35 $($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPTS) -C $(@D)/$($(PKG)_SUBDIR)
36 endef
38 $(eval $(autotools-package))