Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:= gsm
  5. PKG_VERSION:= 1.0.10
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 4b148480f82e96d274248e13880ec873
  8. PKG_DESCR:= GSM 06.10 full-rate speech transcoding library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www-rn.informatik.uni-bremen.de/software/gsm/
  11. PKG_SITES:= http://www-rn.informatik.uni-bremen.de/software/gsm/
  12. PKG_NOPARALLEL:= 1
  13. PKG_LIBNAME:= libgsm
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_SUBPKGS:= LIBGSM GSM_UTILS
  17. PKGSD_GSM_UTILS:= GSM 06.10 full-rate speech transcoding utilities
  18. PKGSS_GSM_UTILS:= libgsm
  19. PKGSC_GSM_UTILS:= misc
  20. WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
  21. ifeq ($(ADK_STATIC),y)
  22. PKG_OPTS+= libmix
  23. endif
  24. include ${TOPDIR}/mk/package.mk
  25. $(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  26. $(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GSM_UTILS},${PKGSD_GSM_UTILS},${PKGSC_GSM_UTILS}))
  27. CONFIG_STYLE:= manual
  28. XAKE_FLAGS+= COPTS="${TARGET_CFLAGS} -fPIC" \
  29. INSTALL_ROOT="${WRKINST}"
  30. libgsm-install:
  31. ${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
  32. ${CP} ${WRKINST}/usr/lib/libgsm.so* ${IDIR_LIBGSM}/usr/lib
  33. gsm-utils-install:
  34. ${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
  35. ${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin
  36. include ${TOPDIR}/mk/pkg-bottom.mk