summaryrefslogtreecommitdiff
path: root/packages/rng-tools/rng-tools_2.bb
blob: ec52b62dc59c12ad89312fbc25fdfb38b28f4abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DESCRIPTION = "Random number generator daemon"
LICENSE = "GPL"
FILE_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
}