wok-4.x view cherokee/receipt @ rev 7317
Up: mono to 2.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 17 21:21:58 2010 +0000 (2010-11-17) |
parents | |
children | db57b12ffc92 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cherokee"
4 VERSION="1.0.9"
5 CATEGORY="network"
6 SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
9 BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cherokee-project.com/"
12 WGET_URL="http://www.cherokee-project.com/download/1.0/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Use subdirectory for logs
19 sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
21 # http://code.google.com/p/cherokee/issues/detail?id=1034
22 patch -Np3 -E -i ../stuff/r5734-get-rid-of-package-py.patch
23 autoreconf -v
24 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
25 --with-wwwroot=/var/www/cherokee --disable-static \
26 --with-wwwuser=www --with-wwwgroup=www \
27 --enable-os-string="SliTaz" \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$PWD/_pkg install
30 install -D -m644 pam.d_cherokee $PWD/_pkg/etc/pam.d/$PACKAGE
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
41 cp -a $_pkg/usr/share/cherokee $fs/usr/share
42 cp -a $_pkg/var $fs
43 cp -a $_pkg/etc $fs
44 cp -a stuff/cherokee $fs/etc/init.d
45 }