summaryrefslogtreecommitdiff
path: root/recipes/sgalib/sga-init.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-10-26 20:21:04 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-10-26 20:21:04 +0100
commit6df5a87a7013aabd1432ec47f9274e25d79975f5 (patch)
treebca00010560b778931f37f776762907f30f4a488 /recipes/sgalib/sga-init.bb
parent764574e16f87d2882f691a3d9cd8799ab67c1344 (diff)
sgalib: NHK-15 library for userspace access to graphics acceleration
Diffstat (limited to 'recipes/sgalib/sga-init.bb')
-rw-r--r--recipes/sgalib/sga-init.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/sgalib/sga-init.bb b/recipes/sgalib/sga-init.bb
new file mode 100644
index 0000000000..d0bd1f8cbc
--- /dev/null
+++ b/recipes/sgalib/sga-init.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Simple Nomadik SGA Init Script"
+LICENSE = "ST"
+SECTION = "x11"
+PRIORITY = "optional"
+PR = "r1"
+
+SRC_URI = "file://sga-init"
+S = ${WORKDIR}
+
+PACKAGE_ARCH = "all"
+
+FILES_${PN}= "${sysconfdir}"
+
+do_install() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/sga-init ${D}/${sysconfdir}/init.d
+}
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "sga-init"
+INITSCRIPT_PARAMS = "start 30 5 2 ."