From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- packages/p910nd/files/avahi | 9 --------- packages/p910nd/files/p910nd.init | 38 ----------------------------------- packages/p910nd/p910nd_0.92.bb | 42 --------------------------------------- 3 files changed, 89 deletions(-) delete mode 100644 packages/p910nd/files/avahi delete mode 100755 packages/p910nd/files/p910nd.init delete mode 100644 packages/p910nd/p910nd_0.92.bb (limited to 'packages/p910nd') diff --git a/packages/p910nd/files/avahi b/packages/p910nd/files/avahi deleted file mode 100644 index 313bc14a4d..0000000000 --- a/packages/p910nd/files/avahi +++ /dev/null @@ -1,9 +0,0 @@ - - foonas p910nd on %h - - - _pdl-datastream._tcp - 9100 - product=foonas network printer - - diff --git a/packages/p910nd/files/p910nd.init b/packages/p910nd/files/p910nd.init deleted file mode 100755 index e5693e911b..0000000000 --- a/packages/p910nd/files/p910nd.init +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh -# -# This is an init script for openembedded -# Copy it to /etc/init.d/p910nd and type -# > update-rc.d p910nd defaults 60 -# -# - - -test -f /usr/sbin/p910nd || exit 0 - -test -d /var/spool/p910nd || mkdir -p /var/spool/p910nd - -case "$1" in - start) - echo -n "Starting p910nd printer daemon: p910nd" - /usr/sbin/p910nd -b -f /dev/usb/lp0 0 - echo "." - ;; - stop) - echo -n "Stopping p910nd printer daemon: p910nd" - start-stop-daemon --stop --quiet --exec /usr/sbin/p9100d - echo "." - ;; - restart) - echo -n "Stopping p910nd printer daemon: p910nd" - start-stop-daemon --stop --quiet --exec /usr/sbin/p9100d - sleep 2 - echo -n " ... Starting p910nd printer daemon: p910nd " - /usr/sbin/p910nd -b -f /dev/usb/lp0 0 - echo "." - ;; - *) - echo "Usage: /etc/init.d/p910nd {start|stop|restart}" - exit 1 -esac - -exit 0 diff --git a/packages/p910nd/p910nd_0.92.bb b/packages/p910nd/p910nd_0.92.bb deleted file mode 100644 index afca8aa3c0..0000000000 --- a/packages/p910nd/p910nd_0.92.bb +++ /dev/null @@ -1,42 +0,0 @@ -DESCRIPTION = "A small network printer daemon for embedded situations that passes the job directly to the printer." -SECTION = "console/utils" -HOMEPAGE = "http://p910nd.sourceforge.net/" -LICENSE = "GPLv2" -SECTION = "console/utils" -PR = "r0" -RRECOMMENDS = "avahi" - -inherit update-rc.d - -INITSCRIPT_NAME = "p910nd" -INITSCRIPT_PARAMS = "defaults 60 " - -SRC_URI = "http://internap.dl.sourceforge.net/sourceforge/p910nd/p910nd-0.92.tar.bz2 \ - file://p910nd.init \ - file://avahi" - -do_compile () { - ${CC} -o p910nd p910nd.c -} - -# The avahi stuff makes it work with bonjour printing -do_install () { - install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd - install -D -m 0644 ${S}/p910nd.conf ${D}${sysconfdir}/p910nd.conf - install -D -m 0755 ${WORKDIR}/p910nd.init ${D}${sysconfdir}/init.d/p910nd - install -D -m 0755 ${WORKDIR}/avahi ${D}${sysconfdir}/avahi/services/p910nd.service -} - -pkg_postinst_append() { -#!/bin/sh - -if [ "x$D" != "x" ] ; then - exit 1 -fi - -# If avahi is already running reload it to pickup the p910nd config -PAV=`pidof avahi-daemon` -if [ "x$PAV" != "x" ] ; then - /etc/init.d/avahi-daemon reload -fi -} -- cgit v1.2.3