1 ################################################################################
5 ################################################################################
8 SPEEX_SITE
= http
://downloads.us.xiph.org
/releases
/speex
10 SPEEX_LICENSE_FILES
= COPYING
12 SPEEX_INSTALL_STAGING
= YES
13 SPEEX_DEPENDENCIES
= libogg
15 --with-ogg-libraries
=$(STAGING_DIR
)/usr
/lib \
16 --with-ogg-includes
=$(STAGING_DIR
)/usr
/include \
19 ifeq ($(BR2_PACKAGE_SPEEX_ARM4
),y
)
20 SPEEX_CONF_OPTS
+= --enable-arm4-asm
23 ifeq ($(BR2_PACKAGE_SPEEX_ARM5E
),y
)
24 SPEEX_CONF_OPTS
+= --enable-arm5e-asm
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
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
)
38 $(eval
$(autotools-package
))