Makefile 1.3 KB

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