summaryrefslogtreecommitdiff
path: root/recipes/rng-tools/rng-tools_2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rng-tools/rng-tools_2.bb')
-rw-r--r--recipes/rng-tools/rng-tools_2.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/rng-tools/rng-tools_2.bb b/recipes/rng-tools/rng-tools_2.bb
new file mode 100644
index 0000000000..a82daaad64
--- /dev/null
+++ b/recipes/rng-tools/rng-tools_2.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Random number generator daemon"
+LICENSE = "GPL"
+PR = "1"
+
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${P}.tar.gz \
+ file://init"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "rng-tools"
+INITSCRIPT_PARAMS = "defaults"
+
+do_install_append() {
+ install -d "${D}${sysconfdir}/init.d"
+ install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools
+}