1
0

Makefile 1.3 KB

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