Makefile 938 B

1234567891011121314151617181920212223242526272829
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= speex
  5. PKG_VERSION:= 1.2rc1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c4438b22c08e5811ff10e2b06ee9b9ae
  8. PKG_DESCR:= an open source patent-free speech compression codec
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://speex.org/
  11. PKG_SITES:= http://downloads.us.xiph.org/releases/speex/
  12. PKG_SUBPKGS:= LIBSPEEX
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBSPEEX,libspeex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  16. CONFIGURE_ARGS+= --without-ogg --disable-oggtest --enable-fixed-point
  17. XAKE_FLAGS+= bin_PROGRAMS=""
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_LIBSPEEX}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libspeex.so* ${IDIR_LIBSPEEX}/usr/lib/
  21. include ${TOPDIR}/mk/pkg-bottom.mk