2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://www.fastpath.it
/products
/palantir
/pub
/
17 PKG_MD5SUM
:=8e4d20e7f7fad26d7447483c68894ace
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_BUILD_DEPENDS
:=libjpeg
23 define Package
/palantir
26 TITLE
:=A multichannel interactive streaming solution
27 URL
:=http
://www.fastpath.it
/products
/palantir
/
30 define Package
/palantir
/description
31 Palantir is a Linux-based streaming system designed to transmit live
32 video
, audio and data over a TCP
/IP network
, as well
as to control
36 define Package
/palantir
/conffiles
40 include $(INCLUDE_DIR
)/package.mk
42 export CPPFLAGS
=-I
$(STAGING_DIR
)/usr
/include -I
$(STAGING_DIR
)/include
43 export LDFLAGS
=-L
$(STAGING_DIR
)/usr
/lib
-L
$(STAGING_DIR
)/lib
46 $(MAKE
) -C
$(PKG_BUILD_DIR
)/server
/libgsm \
47 $(TARGET_CONFIGURE_OPTS
) \
48 CCINC
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
49 COPTS
="$(TARGET_CFLAGS)" \
51 $(MAKE
) -C
$(PKG_BUILD_DIR
)/server \
52 $(TARGET_CONFIGURE_OPTS
) \
53 COPTS
="$(TARGET_CFLAGS)" \
57 define Package
/palantir
/install
58 $(INSTALL_DIR
) $(1)/etc
59 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/server
/palantir-mips.conf.sample
$(1)/etc
/palantir.conf
60 $(INSTALL_DIR
) $(1)/usr
/sbin
61 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/server
/palantir
$(1)/usr
/sbin
/
64 $(eval
$(call BuildPackage
,palantir
))