Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= palantir
  5. PKG_VERSION:= 2.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3a5b1fb340857f6d8e357bf39b77583e
  8. PKG_DESCR:= A multichannel interactive streaming solution
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libjpeg libpthread
  11. PKG_URL:= http://www.fastpath.it/products/palantir
  12. PKG_SITES:= http://www.fastpath.it/products/palantir/pub/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,PALANTIR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. do-build:
  17. mkdir -p ${WRKINST}/usr
  18. ${MAKE} -C ${WRKBUILD}/server/libgsm \
  19. ${TARGET_CONFIGURE_OPTS} \
  20. CCINC="${TCPPFLAGS}" \
  21. lib/libgsm.a
  22. ${MAKE} -C ${WRKBUILD}/server \
  23. ${TARGET_CONFIGURE_OPTS} \
  24. CFLAGS="-Wall -D_REENTRANT ${TCFLAGS} ${TCPPFLAGS} ${TLDFLAGS}" \
  25. palantir
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_PALANTIR}/etc
  28. ${INSTALL_DIR} ${IDIR_PALANTIR}/usr/sbin
  29. ${INSTALL_DATA} ${WRKBUILD}/server/palantir-mips.conf.sample \
  30. ${IDIR_PALANTIR}/etc/palantir.conf
  31. ${INSTALL_BIN} ${WRKBUILD}/server/palantir ${IDIR_PALANTIR}/usr/sbin/
  32. include ${TOPDIR}/mk/pkg-bottom.mk