blob: 5deb3c83fb72cef67d1d1d4e2f5dcc0c090969b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= palantir
PKG_VERSION:= 2.7
PKG_RELEASE:= 1
PKG_MD5SUM:= 3a5b1fb340857f6d8e357bf39b77583e
PKG_DESCR:= A multichannel interactive streaming solution
PKG_SECTION:= multimedia
PKG_DEPENDS:= libjpeg libpthread
PKG_BUILDDEP:= jpeg
PKG_URL:= http://www.fastpath.it/products/palantir/
PKG_SITES:= http://www.fastpath.it/products/palantir/pub/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PALANTIR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
TARGET_CFLAGS+= -Wall
TARGET_CPPFLAGS+= -D_REENTRANT
do-build:
mkdir -p ${WRKINST}/usr
${MAKE} -C ${WRKBUILD}/server/libgsm \
${TARGET_CONFIGURE_OPTS} \
CCINC="${TARGET_CPPFLAGS}" \
lib/libgsm.a
${MAKE} -C ${WRKBUILD}/server \
${TARGET_CONFIGURE_OPTS} \
palantir
do-install:
${INSTALL_DIR} ${IDIR_PALANTIR}/etc
${INSTALL_DIR} ${IDIR_PALANTIR}/usr/sbin
${INSTALL_DATA} ${WRKBUILD}/server/palantir-mips.conf.sample \
${IDIR_PALANTIR}/etc/palantir.conf
${INSTALL_BIN} ${WRKBUILD}/server/palantir ${IDIR_PALANTIR}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk
|