DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / multimedia / palantir / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=palantir
12 PKG_VERSION:=2.6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://www.fastpath.it/products/palantir/pub/
17 PKG_MD5SUM:=8e4d20e7f7fad26d7447483c68894ace
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 PKG_BUILD_DEPENDS:=libjpeg
23
24 define Package/palantir
25 SECTION:=multimedia
26 CATEGORY:=Multimedia
27 TITLE:=A multichannel interactive streaming solution
28 URL:=http://www.fastpath.it/products/palantir/
29 endef
30
31 define Package/palantir/description
32 Palantir is a Linux-based streaming system designed to transmit live
33 video, audio and data over a TCP/IP network, as well as to control
34 remote devices.
35 endef
36
37 define Package/palantir/conffiles
38 /etc/palantir.conf
39 endef
40
41 include $(INCLUDE_DIR)/package.mk
42
43 export CPPFLAGS=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
44 export LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
45
46 define Build/Compile
47 $(MAKE) -C $(PKG_BUILD_DIR)/server/libgsm \
48 $(TARGET_CONFIGURE_OPTS) \
49 CCINC="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
50 COPTS="$(TARGET_CFLAGS)" \
51 lib/libgsm.a
52 $(MAKE) -C $(PKG_BUILD_DIR)/server \
53 $(TARGET_CONFIGURE_OPTS) \
54 COPTS="$(TARGET_CFLAGS)" \
55 palantir
56 endef
57
58 define Package/palantir/install
59 $(INSTALL_DIR) $(1)/etc
60 $(INSTALL_DATA) $(PKG_BUILD_DIR)/server/palantir-mips.conf.sample $(1)/etc/palantir.conf
61 $(INSTALL_DIR) $(1)/usr/sbin
62 $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/palantir $(1)/usr/sbin/
63 endef
64
65 $(eval $(call BuildPackage,palantir))