summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-03-09 10:13:51 +0000
committerKhem Raj <raj.khem@gmail.com>2012-03-11 10:10:37 -0700
commit2f7c7f82c8c46cee222dea4208de7652e6fceb5c (patch)
tree5aeb9a2371dad23b8046ba255f6c5d8ddb0f3951
parent4cd9933e43ad2772a52b3cc051e102de60ad689d (diff)
downloadmeta-openembedded-2f7c7f82c8c46cee222dea4208de7652e6fceb5c.tar.gz
cherokee: no need for cherokee.inc since it is used only once
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/cherokee/cherokee.inc50
-rw-r--r--meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bb49
2 files changed, 47 insertions, 52 deletions
diff --git a/meta-oe/recipes-connectivity/cherokee/cherokee.inc b/meta-oe/recipes-connectivity/cherokee/cherokee.inc
deleted file mode 100644
index 1e09dbfb6b..0000000000
--- a/meta-oe/recipes-connectivity/cherokee/cherokee.inc
+++ /dev/null
@@ -1,50 +0,0 @@
1DESCRIPTION = "Cherokee Web Server fast and secure"
2DESCRIPTION_cget = "Small downloader based in the Cherokee client library"
3HOMEPAGE = "http://www.cherokee-project.com/"
4SECTION = "network"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8INC_PR = "r0"
9
10DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
11
12SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \
13 file://cherokee.init \
14 file://cherokee.service"
15
16
17inherit autotools pkgconfig binconfig update-rc.d
18
19EXTRA_OECONF = "--disable-static \
20 --disable-nls \
21 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
22 "
23
24do_install_append () {
25 install -m 0755 -d ${D}${sysconfdir}/init.d
26 install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
27
28 install -d ${D}${base_libdir}/systemd/system
29 install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system/
30
31 # clean up .la files for plugins
32 rm -f ${D}${libdir}/cherokee/*.la
33}
34
35# Put -dev near the front so we can move the .la files into it with a wildcard
36PACKAGES =+ "libcherokee-server libcherokee-client libcherokee-base cget"
37
38FILES_${PN} += "${base_libdir}/systemd"
39FILES_cget = "${bindir}/cget"
40FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}"
41FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}"
42FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}"
43
44CONFFILES_${PN} = " \
45 ${sysconfdir}/cherokee/cherokee.conf \
46 ${sysconfdir}/init.d/cherokee \
47 "
48
49INITSCRIPT_NAME = "cherokee"
50INITSCRIPT_PARAMS = "defaults 91 91"
diff --git a/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bb b/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bb
index 86b3721c44..93bb1913eb 100644
--- a/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bb
+++ b/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bb
@@ -1,6 +1,51 @@
1require cherokee.inc 1DESCRIPTION = "Cherokee Web Server fast and secure"
2DESCRIPTION_cget = "Small downloader based in the Cherokee client library"
3HOMEPAGE = "http://www.cherokee-project.com/"
4SECTION = "network"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
2 7
3PR = "${INC_PR}.0" 8PR = "r1"
4 9
10DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
11
12SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \
13 file://cherokee.init \
14 file://cherokee.service"
5SRC_URI[md5sum] = "21b01e7d45c0e82ecc0c4257a9c27feb" 15SRC_URI[md5sum] = "21b01e7d45c0e82ecc0c4257a9c27feb"
6SRC_URI[sha256sum] = "042b5687b1a3db3ca818167548ce5d32c35e227c6640732dcb622a6f4a078b7d" 16SRC_URI[sha256sum] = "042b5687b1a3db3ca818167548ce5d32c35e227c6640732dcb622a6f4a078b7d"
17
18inherit autotools pkgconfig binconfig update-rc.d
19
20EXTRA_OECONF = "--disable-static \
21 --disable-nls \
22 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
23 "
24
25do_install_append () {
26 install -m 0755 -d ${D}${sysconfdir}/init.d
27 install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
28
29 install -d ${D}${base_libdir}/systemd/system
30 install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system/
31
32 # clean up .la files for plugins
33 rm -f ${D}${libdir}/cherokee/*.la
34}
35
36# Put -dev near the front so we can move the .la files into it with a wildcard
37PACKAGES =+ "libcherokee-server libcherokee-client libcherokee-base cget"
38
39FILES_${PN} += "${base_libdir}/systemd"
40FILES_cget = "${bindir}/cget"
41FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}"
42FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}"
43FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}"
44
45CONFFILES_${PN} = " \
46 ${sysconfdir}/cherokee/cherokee.conf \
47 ${sysconfdir}/init.d/cherokee \
48 "
49
50INITSCRIPT_NAME = "cherokee"
51INITSCRIPT_PARAMS = "defaults 91 91"