1 DESCRIPTION = "Palantir - a multichannel interactive streaming solution"
3 DEPENDS = "jpeg libgsm"
5 SRC_URI = "http://www.fastpath.it/products/palantir/pub/palantir-${PV}.tgz"
7 S = "${WORKDIR}/palantir-${PV}/server"
9 TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}"
11 export BASE_DIR="${prefix}"
14 sed -i -e s:chown:echo:g -e s:chmod:echo:g Makefile
15 mkdir -p ${D}/var/log/palantir
16 LOG_FILE="${D}/var/log/palantir" OWNER="${USER}" BASE_DIR="${D}${prefix}" oe_runmake install
17 rm ${D}/${datadir}/palantir/telmu_pipe
20 FILES_${PN} += "${datadir}/palantir/"
22 pkg_postinst_${PN} () {
23 # can't do this offline
24 if [ "x$D" != "x" ]; then
27 grep "^palantir:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/run/palantir --no-create-home palantir --ingroup palantir -g palantir
28 mkfifo ${datadir}/palantir/telmu_pipe
29 chown palantir ${datadir}/palantir/*
30 chmod 600 ${datadir}/palantir/telmu_pipe
35 deluser palantir || true