Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= gsm
  5. PKG_VERSION:= 1.0.10
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= ddab700db455e13bcf9bc0592b320e61c6a7c692fb3cef7881b14b2df1a39069
  8. PKG_DESCR:= gsm full-rate speech transcoding library
  9. PKG_SECTION:= libs/misc
  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 full-rate speech transcoding utilities
  18. PKGSS_GSM_UTILS:= libgsm
  19. PKGSC_GSM_UTILS:= mm/audio
  20. WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
  21. include ${ADK_TOPDIR}/mk/package.mk
  22. $(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. $(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GSM_UTILS},${PKGSD_GSM_UTILS},${PKGSC_GSM_UTILS}))
  24. CONFIG_STYLE:= manual
  25. XAKE_FLAGS+= COPTS="${TARGET_CFLAGS} -fPIC" \
  26. INSTALL_ROOT="${WRKINST}"
  27. libgsm-install:
  28. ${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
  29. ${CP} ${WRKINST}/usr/lib/libgsm.so* ${IDIR_LIBGSM}/usr/lib
  30. gsm-utils-install:
  31. ${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
  32. ${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk