[oe-commits] Koen Kooi : palantier: add 2.7

GIT User account git at amethyst.openembedded.net
Tue Jan 6 08:37:10 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6613cff9f7a44b0d8bfdb8f12f856f791a3cc161
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6613cff9f7a44b0d8bfdb8f12f856f791a3cc161

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Jan  5 15:04:06 2009 +0100

palantier: add 2.7

---

 conf/checksums.ini                |    8 ++++++++
 packages/palantir/palantir_2.7.bb |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 150789c..95d3fb2 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -14562,6 +14562,10 @@ sha256=e17c283be0afa5abdf0be276e0240b3f1805afaea76537aacadc8e2ff626f9ef
 md5=5ffdc958313345c69d3e0d5ec5c013cd
 sha256=2798b2a5e4d248244d5f40cce32dfb0f027e103dd8469a800b6b934467bf6117
 
+[http://downloads.sourceforge.net/motion/motion-3.2.11.tar.gz]
+md5=3a26c00f3250eacf6fa93c7a7e0249d9
+sha256=f1e187c61702a727bbd20bf5a66a310363257acc04b1f1c6e0b2e06e9b5dfa6e
+
 [http://heanet.dl.sourceforge.net/motion/motion-3.2.11.tar.gz]
 md5=3a26c00f3250eacf6fa93c7a7e0249d9
 sha256=f1e187c61702a727bbd20bf5a66a310363257acc04b1f1c6e0b2e06e9b5dfa6e
@@ -15834,6 +15838,10 @@ sha256=7526d8de006817e5c6bc79826f810a15490611dcbd2d4fb9d8e9b9991c7ed506
 md5=677c4817c156136a3042025191ed243b
 sha256=3dfe058a121e5ff2d2c7675af74a7309b0048ff9fc6dd6129d2c37cef44f0105
 
+[http://www.fastpath.it/products/palantir/pub/palantir-2.7.tgz]
+md5=3a5b1fb340857f6d8e357bf39b77583e
+sha256=dbe9c8317e66e7239a53e9bcb68595cd31ec949474bb3d9fc15f51f3773c167b
+
 [ftp://ftp.gtk.org/pub/gtk/v2.8/pango-1.10.2.tar.bz2]
 md5=7302220d93ac17d2c44f356d852e81dc
 sha256=677d3a943cfeedebf138024de6e4a773f7f6626236613401f3a797f82f04eba7
diff --git a/packages/palantir/palantir_2.7.bb b/packages/palantir/palantir_2.7.bb
new file mode 100644
index 0000000..ad1b2f6
--- /dev/null
+++ b/packages/palantir/palantir_2.7.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Palantir - a multichannel interactive streaming solution"
+LICENSE = "GPLv2"
+DEPENDS = "jpeg libgsm"
+
+SRC_URI = "http://www.fastpath.it/products/palantir/pub/palantir-${PV}.tgz"
+
+S = "${WORKDIR}/palantir-${PV}/server"
+
+TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}"
+
+export BASE_DIR="${prefix}"
+
+do_install() {
+	sed -i -e s:chown:echo:g -e s:chmod:echo:g Makefile
+	mkdir -p ${D}/var/log/palantir
+	LOG_FILE="${D}/var/log/palantir" OWNER="${USER}" BASE_DIR="${D}${prefix}" oe_runmake install
+	rm ${D}/${datadir}/palantir/telmu_pipe
+}
+
+FILES_${PN} += "${datadir}/palantir/"
+
+pkg_postinst_${PN} () {
+	# can't do this offline
+	if [ "x$D" != "x" ]; then
+		exit 1
+	fi
+	grep "^palantir:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/run/palantir --no-create-home palantir --ingroup palantir -g palantir
+	mkfifo ${datadir}/palantir/telmu_pipe
+	chown palantir ${datadir}/palantir/*
+	chmod 600 ${datadir}/palantir/telmu_pipe
+}
+
+
+pkg_postrm_${PN} () {
+	deluser palantir || true
+}
+





More information about the Openembedded-commits mailing list