diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-05-09 22:08:14 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-05-09 22:08:14 +0000 |
commit | 13e5f954fc508e978daca70db46af1d20ae1bcbc (patch) | |
tree | c5cf9ab15bc7724e3ac0fab6486b0c2342c0c36c /packages/upstart/upstart.inc | |
parent | 5b9f6f5731138e3b6de0ec014fd72b4965a927ac (diff) |
upstart: Finer grained packaging. Fix license. New package, needs testing.
Diffstat (limited to 'packages/upstart/upstart.inc')
-rw-r--r-- | packages/upstart/upstart.inc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/packages/upstart/upstart.inc b/packages/upstart/upstart.inc index c1eaaeb45f..59f21c9ed5 100644 --- a/packages/upstart/upstart.inc +++ b/packages/upstart/upstart.inc @@ -2,10 +2,25 @@ SECTION = "base" PRIORITY = "optional" DEPENDS = "" DESCRIPTION = "Event driven system init" -LICENSE = "MPL LGPL" +LICENSE = "GPL" inherit autotools pkgconfig +# --enable-compat builds halt, reboot, shutdown tools +EXTRA_OECONF += "--enable-compat" + do_stage () { autotools_stage_all } + +# libupstart can be used for upstart event generation from other programs. +# However it is not used by upstart itself, so package it seperately. +PACKAGES =+ "libupstart libupstart-dev" +FILES_libupstart += "${libdir}/libupstart.so.*" +FILES_libupstart-dev += "${libdir}/libupstart.* ${includedir}/upstart/" + +# upstart-sysvcompat provides Sys V Init compatible tools: halt, reboot, +# shutdown, telinit. These might be needed by other scripts. +PACKAGES =+ "upstart-sysvcompat upstart-sysvtools-doc" +FILES_upstart-sysvcompat += "${sbindir}/reboot ${sbindir}/halt ${sbindir}/shutdown ${sbindir}/telinit" +FILES_upstart-sysvcompat-doc += "${mandir}/*/reboot.* ${mandir}/*/halt.* ${mandir}/*/shutdown.* ${mandir}/*/telinit.*" |