Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= multimedia
  10. PKG_DEPENDS:= libjpeg libpthread
  11. PKG_BUILDDEP:= jpeg
  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. CONFIG_STYLE:= manual
  18. BUILD_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. TARGET_CFLAGS+= -Wall
  21. TARGET_CPPFLAGS+= -D_REENTRANT
  22. do-build:
  23. mkdir -p ${WRKINST}/usr
  24. ${MAKE} -C ${WRKBUILD}/server/libgsm \
  25. ${TARGET_CONFIGURE_OPTS} \
  26. CCINC="${TARGET_CPPFLAGS}" \
  27. lib/libgsm.a
  28. ${MAKE} -C ${WRKBUILD}/server \
  29. ${TARGET_CONFIGURE_OPTS} \
  30. palantir
  31. do-install:
  32. ${INSTALL_DIR} ${IDIR_PALANTIR}/etc
  33. ${INSTALL_DIR} ${IDIR_PALANTIR}/usr/sbin
  34. ${INSTALL_DATA} ${WRKBUILD}/server/palantir-mips.conf.sample \
  35. ${IDIR_PALANTIR}/etc/palantir.conf
  36. ${INSTALL_BIN} ${WRKBUILD}/server/palantir ${IDIR_PALANTIR}/usr/sbin/
  37. include ${TOPDIR}/mk/pkg-bottom.mk