Makefile 1016 B

12345678910111213141516171819202122232425262728293031323334
  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:= miax
  5. PKG_VERSION:= 1.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 44f0d2ef46ee2697d890b7b96846adc7
  8. PKG_DESCR:= A console iax (asterisk) client
  9. PKG_SECTION:= bluetooth
  10. PKG_DEPENDS:= kmod-bt bluez libpthread
  11. PKG_BUILDDEP+= bluez
  12. PKG_URL:= http://sourceforge.net/projects/miax
  13. PKG_SITES:= http://mesh.dl.sourceforge.net/sourceforge/miax/
  14. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/${PKG_NAME}
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MIAX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. BUILD_STYLE:= auto
  19. MAKE_FLAGS+= CC="${TARGET_CC}" \
  20. OFLAGS="${TCFLAGS}" \
  21. CPPFLAGS="${TCPPFLAGS}" \
  22. LDFLAGS="${TLDFLAGS}" \
  23. do-install:
  24. ${INSTALL_DIR} ${IDIR_MIAX}/usr/bin
  25. ${INSTALL_BIN} ${WRKBUILD}/miax ${IDIR_MIAX}/usr/bin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk