wok view cherokee/receipt @ rev 7957
Up: mlt-python-bindings to 0.6.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 15 17:23:12 2011 +0000 (2011-01-15) |
parents | ff17af801e36 |
children | 2d4d32500e28 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cherokee"
4 VERSION="1.0.15"
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 autoreconf -v
22 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
23 --with-wwwroot=/var/www/cherokee --disable-static \
24 --with-wwwuser=www --with-wwwgroup=www \
25 --enable-os-string="SliTaz" \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 install -D -m644 pam.d_cherokee $PWD/_pkg/etc/pam.d/$PACKAGE
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
39 cp -a $_pkg/usr/share/cherokee $fs/usr/share
40 cp -a $_pkg/var $fs
41 cp -a $_pkg/etc $fs
42 cp -a stuff/cherokee $fs/etc/init.d
43 }