2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.fastpath.it/products/palantir/pub/
16 PKG_MD5SUM:=3a5b1fb340857f6d8e357bf39b77583e
18 PKG_BUILD_DEPENDS:=libjpeg
20 define Package/palantir
23 DEPENDS:=+libjpeg +libpthread
24 TITLE:=A multichannel interactive streaming solution
25 URL:=http://www.fastpath.it/products/palantir/
28 define Package/palantir/description
29 Palantir is a Linux-based streaming system designed to transmit live
30 video, audio and data over a TCP/IP network, as well as to control
34 define Package/palantir/conffiles
38 include $(INCLUDE_DIR)/package.mk
40 export CPPFLAGS=$(TARGET_CPPFLAGS)
41 export LDFLAGS=$(TARGET_LDFLAGS)
44 $(MAKE) -C $(PKG_BUILD_DIR)/server/libgsm \
45 $(TARGET_CONFIGURE_OPTS) \
46 CCINC="$(TARGET_CPPFLAGS)" \
47 COPTS="$(TARGET_CFLAGS)" \
49 $(MAKE) -C $(PKG_BUILD_DIR)/server \
50 $(TARGET_CONFIGURE_OPTS) \
51 COPTS="$(TARGET_CFLAGS)" \
55 define Package/palantir/install
56 $(INSTALL_DIR) $(1)/etc
57 $(INSTALL_DATA) $(PKG_BUILD_DIR)/server/palantir-mips.conf.sample $(1)/etc/palantir.conf
58 $(INSTALL_DIR) $(1)/usr/sbin
59 $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/palantir $(1)/usr/sbin/
62 $(eval $(call BuildPackage,palantir))