cherokee: move systemd support to meta-systemd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2012-06-10 21:46:51 +00:00
committed by Koen Kooi
parent 365d5ec941
commit c203043683
3 changed files with 13 additions and 7 deletions
@@ -5,17 +5,16 @@ SECTION = "network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
PR = "r4"
PR = "r5"
DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \
file://cherokee.init \
file://cherokee.service"
file://cherokee.init"
SRC_URI[md5sum] = "21b01e7d45c0e82ecc0c4257a9c27feb"
SRC_URI[sha256sum] = "042b5687b1a3db3ca818167548ce5d32c35e227c6640732dcb622a6f4a078b7d"
inherit autotools pkgconfig binconfig update-rc.d systemd
inherit autotools pkgconfig binconfig update-rc.d
EXTRA_OECONF = "--disable-static \
--disable-nls \
@@ -45,6 +44,3 @@ CONFFILES_${PN} = " \
INITSCRIPT_NAME = "cherokee"
INITSCRIPT_PARAMS = "defaults 91 91"
SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "cherokee.service"
@@ -0,0 +1,10 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 1}"
inherit systemd
SRC_URI += "file://cherokee.service"
SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "cherokee.service"