Makefile 1006 B

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