Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= 1
  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_DESCR_1:= A GSM 06.10 full-rate speech transcoding implementation (utilities)
  14. PKG_DEPENDS_1:= libgsm
  15. WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
  19. XAKE_FLAGS+= COPTS="${TARGET_CFLAGS} -fPIC" \
  20. INSTALL_ROOT="${WRKINST}"
  21. BUILD_STYLE= auto
  22. INSTALL_STYLE= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libgsm.so.1.0.10 ${IDIR_LIBGSM}/usr/lib
  26. ${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
  27. ${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin
  28. include ${TOPDIR}/mk/pkg-bottom.mk