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 --- recipes/ivman/ivman_0.6.14.bb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes/ivman/ivman_0.6.14.bb (limited to 'recipes/ivman/ivman_0.6.14.bb') diff --git a/recipes/ivman/ivman_0.6.14.bb b/recipes/ivman/ivman_0.6.14.bb new file mode 100644 index 0000000000..ecc4665b9b --- /dev/null +++ b/recipes/ivman/ivman_0.6.14.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Daemon to mount/unmount devices, based on info from HAL" +HOMEPAGE = "http://ivman.sf.net" +LICENSE = "GPLv2" +PR = "r1" + +DEPENDS = "hal libxml2" +RDEPENDS = "hal pmount-hal" + +SRC_URI = "${SOURCEFORGE_MIRROR}/ivman/${P}.tar.bz2 \ + file://ivman-0.6-hotpluggable.patch;patch=1 \ + file://ivman-launch.patch;patch=1 " + +inherit autotools + +# Add user ivman into group plugdev +pkg_postinst_${PN} () { + # can't do this offline + if [ "x$D" != "x" ]; then + exit 1 + fi + + grep "^ivman:" /etc/passwd > /dev/null || \ + adduser --disabled-password --system --home /dev/null \ + --no-create-home --ingroup plugdev -s /bin/false \ + -g "IVMAN" ivman + /etc/init.d/populate-volatile.sh update +} + +pkg_postrm_${PN} () { + deluser ivman || true +} -- cgit v1.2