summaryrefslogtreecommitdiff
path: root/packages/cherokee
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cherokee')
-rw-r--r--packages/cherokee/cherokee.inc4
-rw-r--r--packages/cherokee/cherokee_0.5.3.bb5
-rw-r--r--packages/cherokee/cherokee_0.5.5.bb5
-rw-r--r--packages/cherokee/cherokee_0.98.0.bb10
4 files changed, 20 insertions, 4 deletions
diff --git a/packages/cherokee/cherokee.inc b/packages/cherokee/cherokee.inc
index 9736370cb4..58ffe1ac94 100644
--- a/packages/cherokee/cherokee.inc
+++ b/packages/cherokee/cherokee.inc
@@ -12,10 +12,6 @@ inherit autotools pkgconfig binconfig update-rc.d
EXTRA_OECONF = "--enable-tls=gnutls --disable-static --disable-nls"
-do_install_prepend () {
- # It only needs this app during the install, so compile it natively
- $BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
-}
do_install_append () {
install -m 0755 -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
diff --git a/packages/cherokee/cherokee_0.5.3.bb b/packages/cherokee/cherokee_0.5.3.bb
index c0f1396c7d..1fe9df46c0 100644
--- a/packages/cherokee/cherokee_0.5.3.bb
+++ b/packages/cherokee/cherokee_0.5.3.bb
@@ -12,3 +12,8 @@ do_configure() {
oe_runconf
sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/*libtool
}
+
+do_install_prepend () {
+ # It only needs this app during the install, so compile it natively
+ $BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
+}
diff --git a/packages/cherokee/cherokee_0.5.5.bb b/packages/cherokee/cherokee_0.5.5.bb
index e1fe602282..73b4d52418 100644
--- a/packages/cherokee/cherokee_0.5.5.bb
+++ b/packages/cherokee/cherokee_0.5.5.bb
@@ -3,4 +3,9 @@ PR = "r4"
SRC_URI_append = "file://configure.in.patch;patch=1 \
file://Makefile.am.patch;patch=1"
+do_install_prepend () {
+ # It only needs this app during the install, so compile it natively
+ $BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
+}
+
require cherokee.inc
diff --git a/packages/cherokee/cherokee_0.98.0.bb b/packages/cherokee/cherokee_0.98.0.bb
new file mode 100644
index 0000000000..7a296940e7
--- /dev/null
+++ b/packages/cherokee/cherokee_0.98.0.bb
@@ -0,0 +1,10 @@
+require cherokee.inc
+
+SRC_URI = "http://www.cherokee-project.com/download/0.98/${PV}/cherokee-${PV}.tar.gz \
+ file://cherokee.init "
+
+CONFFILES_${PN} = " \
+${sysconfdir}/cherokee/cherokee.conf \
+${sysconfdir}/init.d/cherokee \
+"
+