Makefile 1.3 KB

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