1
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. do-build:
  21. mkdir -p ${WRKINST}/usr
  22. ${MAKE} -C ${WRKBUILD}/server/libgsm \
  23. ${TARGET_CONFIGURE_OPTS} \
  24. CCINC="${TCPPFLAGS}" \
  25. lib/libgsm.a
  26. ${MAKE} -C ${WRKBUILD}/server \
  27. ${TARGET_CONFIGURE_OPTS} \
  28. CFLAGS="-Wall -D_REENTRANT ${TCFLAGS} ${TCPPFLAGS} ${TLDFLAGS}" \
  29. palantir
  30. do-install:
  31. ${INSTALL_DIR} ${IDIR_PALANTIR}/etc
  32. ${INSTALL_DIR} ${IDIR_PALANTIR}/usr/sbin
  33. ${INSTALL_DATA} ${WRKBUILD}/server/palantir-mips.conf.sample \
  34. ${IDIR_PALANTIR}/etc/palantir.conf
  35. ${INSTALL_BIN} ${WRKBUILD}/server/palantir ${IDIR_PALANTIR}/usr/sbin/
  36. include ${TOPDIR}/mk/pkg-bottom.mk