Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= A GSM 06.10 full-rate speech transcoding implementation (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. PKG_SUBPKGS:= LIBGSM GSM_UTILS
  16. PKGSD_GSM_UTILS:= A GSM 06.10 full-rate speech transcoding implementation (utilities)
  17. PKGSS_GSM_UTILS:= libgsm
  18. PKGSC_GSM_UTILS:= misc
  19. WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libmix
  22. endif
  23. include ${TOPDIR}/mk/package.mk
  24. $(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  25. $(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GSM_UTILS},${PKGSD_GSM_UTILS},${PKGSC_GSM_UTILS}))
  26. CONFIG_STYLE:= manual
  27. XAKE_FLAGS+= COPTS="${TARGET_CFLAGS} -fPIC" \
  28. INSTALL_ROOT="${WRKINST}"
  29. libgsm-install:
  30. ${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
  31. ${CP} ${WRKINST}/usr/lib/libgsm.so* ${IDIR_LIBGSM}/usr/lib
  32. gsm-utils-install:
  33. ${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
  34. ${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin
  35. include ${TOPDIR}/mk/pkg-bottom.mk