summaryrefslogtreecommitdiffstats
path: root/package/palantir
diff options
context:
space:
mode:
Diffstat (limited to 'package/palantir')
-rw-r--r--package/palantir/Config.in11
-rw-r--r--package/palantir/Makefile46
-rw-r--r--package/palantir/ipkg/palantir.conffiles1
-rw-r--r--package/palantir/ipkg/palantir.control7
4 files changed, 65 insertions, 0 deletions
diff --git a/package/palantir/Config.in b/package/palantir/Config.in
new file mode 100644
index 000000000..c08437fed
--- /dev/null
+++ b/package/palantir/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PALANTIR
+ tristate "palantir - a multichannel interactive streaming solution"
+ default m if CONFIG_DEVEL
+ select LIBJPEG
+ help
+ Palantir is a Linux-based streaming system designed to transmit live
+ video, audio and data over a TCP/IP network, as well as to control
+ remote devices.
+
+ http://www.fastpath.it/products/palantir/
+
diff --git a/package/palantir/Makefile b/package/palantir/Makefile
new file mode 100644
index 000000000..68eac5f9e
--- /dev/null
+++ b/package/palantir/Makefile
@@ -0,0 +1,46 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=palantir
+PKG_VERSION:=2.6
+PKG_RELEASE:=1
+PKG_MD5SUM:=8e4d20e7f7fad26d7447483c68894ace
+
+PKG_SOURCE_URL:=http://www.fastpath.it/products/palantir/pub/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+
+export CPPFLAGS=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
+export LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,PALANTIR,palantir,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+ touch $@
+
+$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
+ rm -rf $(PKG_INSTALL_DIR)
+ mkdir -p $(PKG_INSTALL_DIR)/usr
+ $(MAKE) -C $(PKG_BUILD_DIR)/server/libgsm \
+ $(TARGET_CONFIGURE_OPTS) \
+ CCINC="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
+ lib/libgsm.a
+ $(MAKE) -C $(PKG_BUILD_DIR)/server \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="-Wall -D_REENTRANT $(TARGET_CFLAGS)" \
+ palantir
+ touch $@
+
+$(IPKG_PALANTIR):
+ install -d -m0755 $(IDIR_PALANTIR)/etc
+ install -m0644 $(PKG_BUILD_DIR)/server/palantir-mips.conf.sample $(IDIR_PALANTIR)/etc/palantir.conf
+ install -d -m0755 $(IDIR_PALANTIR)/usr/sbin
+ install -m0755 $(PKG_BUILD_DIR)/server/palantir $(IDIR_PALANTIR)/usr/sbin/
+ $(RSTRIP) $(IDIR_PALANTIR)
+ $(IPKG_BUILD) $(IDIR_PALANTIR) $(PACKAGE_DIR)
diff --git a/package/palantir/ipkg/palantir.conffiles b/package/palantir/ipkg/palantir.conffiles
new file mode 100644
index 000000000..a57f0c6fd
--- /dev/null
+++ b/package/palantir/ipkg/palantir.conffiles
@@ -0,0 +1 @@
+/etc/palantir.conf
diff --git a/package/palantir/ipkg/palantir.control b/package/palantir/ipkg/palantir.control
new file mode 100644
index 000000000..2d8753739
--- /dev/null
+++ b/package/palantir/ipkg/palantir.control
@@ -0,0 +1,7 @@
+Package: palantir
+Priority: optional
+Section: net
+Maintainer: OpenWrt Developer Team <openwrt-devel@openwrt.org>
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/palantir/
+Depends: libjpeg, libpthread
+Description: A multichannel interactive streaming solution