Upgrade aircrack-ng to 0.9, add a description
[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 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 \\\
31 remote devices.
32 URL:=http://www.fastpath.it/products/palantir/
33 endef
34
35 define Package/palantir/conffiles
36 /etc/palantir.conf
37 endef
38
39 include $(INCLUDE_DIR)/package.mk
40
41 export CPPFLAGS=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
42 export LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
43
44 define Build/Compile
45 $(MAKE) -C $(PKG_BUILD_DIR)/server/libgsm \
46 $(TARGET_CONFIGURE_OPTS) \
47 CCINC="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
48 COPTS="$(TARGET_CFLAGS)" \
49 lib/libgsm.a
50 $(MAKE) -C $(PKG_BUILD_DIR)/server \
51 $(TARGET_CONFIGURE_OPTS) \
52 COPTS="$(TARGET_CFLAGS)" \
53 palantir
54 endef
55
56 define Package/palantir/install
57 $(INSTALL_DIR) $(1)/etc
58 $(INSTALL_DATA) $(PKG_BUILD_DIR)/server/palantir-mips.conf.sample $(1)/etc/palantir.conf
59 $(INSTALL_DIR) $(1)/usr/sbin
60 $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/palantir $(1)/usr/sbin/
61 endef
62
63 $(eval $(call BuildPackage,palantir))