summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-04-27 22:12:45 +0000
committerMichael Weber <xmw@gentoo.org>2010-04-27 22:12:45 +0000
commit070be9231484ef2b0c6940a7d82e31d0eb20083c (patch)
tree4ce953cbb2a0afeddf2c8687f9f05a0be6159251 /dev-embedded
parentdev-embedded/palm-novacom license for Palm Pre SDK (diff)
downloadsunrise-reviewed-070be9231484ef2b0c6940a7d82e31d0eb20083c.tar.gz
sunrise-reviewed-070be9231484ef2b0c6940a7d82e31d0eb20083c.tar.bz2
sunrise-reviewed-070be9231484ef2b0c6940a7d82e31d0eb20083c.zip
dev-embedded/palm-novacom: New Ebuild for bug 278769
svn path=/sunrise/; revision=10492
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/palm-novacom/ChangeLog10
-rw-r--r--dev-embedded/palm-novacom/Manifest8
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd25
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh5
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh5
-rw-r--r--dev-embedded/palm-novacom/metadata.xml6
-rw-r--r--dev-embedded/palm-novacom/palm-novacom-1.0.55.ebuild45
7 files changed, 104 insertions, 0 deletions
diff --git a/dev-embedded/palm-novacom/ChangeLog b/dev-embedded/palm-novacom/ChangeLog
new file mode 100644
index 000000000..9dbfcafa0
--- /dev/null
+++ b/dev-embedded/palm-novacom/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-embedded/palm-novacom
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 27 Apr 2010; Michael Weber (xmw) <gentoo@xmw.de>
+ +palm-novacom-1.0.55.ebuild, +files/palm-novacom-1.0.55-initd,
+ +files/palm-novacom-1.0.55-novacom.sh,
+ +files/palm-novacom-1.0.55-novacomd.sh, +metadata.xml:
+ New Ebuild for bug 278769
+
diff --git a/dev-embedded/palm-novacom/Manifest b/dev-embedded/palm-novacom/Manifest
new file mode 100644
index 000000000..044f17a18
--- /dev/null
+++ b/dev-embedded/palm-novacom/Manifest
@@ -0,0 +1,8 @@
+AUX palm-novacom-1.0.55-initd 490 RMD160 8bcdfc01cc2c8bdea0febdf7b7c1c3c3827402ac SHA1 6ee2b33f4719ea92b53b159310807ddb84f84836 SHA256 b19d7bfe541165be6102b9523a85718644b59383e53deb19940cc692770b4725
+AUX palm-novacom-1.0.55-novacom.sh 53 RMD160 768866f9bfb34b21492eee44c88bc7b79d28ae5e SHA1 da32ab9d2df77186805022e2fdde465e43bef449 SHA256 890aaaa8c800e3bcf30a00b5ec8a01f8065df40b841aa7f2782bef0401cfb0e6
+AUX palm-novacom-1.0.55-novacomd.sh 54 RMD160 7dec21364b43a9238c699e98bd7d7902545016b7 SHA1 bebc1014a3b88ddd6f3e6bc5130b06e7a13a43a8 SHA256 4491e1b042b3c526365e49155636611331b075056e4eb254823d2082b6d61f32
+DIST palm-novacom_1.0.55_amd64.deb 39618 RMD160 c791774a9168df56119c3372ed2abd1ed9b2679a SHA1 1a9913b80c0adb33e79bf9a5c0093c58e5b650f3 SHA256 0b6e1ce1eb771566b81cc8517f1206d7b219ef8de4e6462fa9174f5689bb3950
+DIST palm-novacom_1.0.55_i386.deb 35390 RMD160 fbea682540f1cd7a586950a71a2f5a8859eeef45 SHA1 5b39161b5b483ff6d00fc4959a847826e8846fe9 SHA256 4f048df82310b329b4d20350c4efe085a95d917f30c351468de6ad0d6380c90a
+EBUILD palm-novacom-1.0.55.ebuild 1159 RMD160 ce014318803010aa7fcd7fb8403764ecc3fee2d9 SHA1 9f1d0e718e006fafb3cec5adcc156119679ddec2 SHA256 144425faf4ef63fa5dad63f57804fcae1a9d0587774ecbd77303274b9a8a9b7b
+MISC ChangeLog 369 RMD160 5b0a8a083711accf2879da193813ee53bc7b6f6e SHA1 8e2114acb51fb18ce4f30715dfaa9d26173f4f83 SHA256 5a9f681fc5ec9d174f84e056759ce06dbff0b6c09a3b8839d4ace9c0d1125032
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd
new file mode 100644
index 000000000..afbc1b8b6
--- /dev/null
+++ b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: $
+
+depend() {
+ use logger
+}
+
+start() {
+ ebegin "Starting Palm novacom daemon"
+ start-stop-daemon --start \
+ --make-pidfile \
+ --pidfile /var/run/novacomd.pid \
+ --background \
+ --exec /usr/sbin/novacomd --
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Palm novacom daemon"
+ start-stop-daemon --stop \
+ --pidfile /var/run/novacomd.pid
+ eend $?
+}
diff --git a/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh
new file mode 100644
index 000000000..81907ffe6
--- /dev/null
+++ b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd /opt/palm-novacom
+exec ./novacom "$@"
+
diff --git a/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh
new file mode 100644
index 000000000..93ae03f10
--- /dev/null
+++ b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd /opt/palm-novacom
+exec ./novacomd "$@"
+
diff --git a/dev-embedded/palm-novacom/metadata.xml b/dev-embedded/palm-novacom/metadata.xml
new file mode 100644
index 000000000..e6233b5dc
--- /dev/null
+++ b/dev-embedded/palm-novacom/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/dev-embedded/palm-novacom/palm-novacom-1.0.55.ebuild b/dev-embedded/palm-novacom/palm-novacom-1.0.55.ebuild
new file mode 100644
index 000000000..8ab650d28
--- /dev/null
+++ b/dev-embedded/palm-novacom/palm-novacom-1.0.55.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="A part of the Palm Mojo SDK for communication with and rootaccess to the webOS based devices"
+HOMEPAGE="http://developer.palm.com/"
+SRC_URI="amd64? ( http://cdn.downloads.palm.com/sdkdownloads/1.4.1.427/sdkBinaries/${PN}_${PV}_amd64.deb )
+ x86? ( http://cdn.downloads.palm.com/sdkdownloads/1.4.1.427/sdkBinaries/${PN}_${PV}_i386.deb )"
+
+LICENSE="PalmSDK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 -*"
+IUSE=""
+
+RDEPEND="virtual/libusb:0"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ unpack ./data.tar.gz
+}
+
+src_install() {
+ exeinto opt/${PN}
+ doexe opt/Palm/novacom/novacom{,d} || die
+
+ dobin opt/Palm/novacom/novaterm || die
+ newbin "${FILESDIR}/${P}-novacom.sh" novacom || die
+
+ newsbin "${FILESDIR}/${P}-novacomd.sh" novcomd || die
+
+ newinitd "${FILESDIR}"/${P}-initd novacom || die
+}
+
+pkg_postinst() {
+ elog "You may add novacom daemon to your default runlevel"
+ elog " rc-update add novacom default"
+ elog "attach your Palm Pre with Developer Mode enabled,"
+ elog "select 'just charge' and start novaterm"
+}