wok view cherokee/receipt @ rev 11600

easytag: add MP3 support
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jan 15 22:26:47 2012 +0100 (2012-01-15)
parents a1644dbcf632
children 21cd28c4630a
line source
1 # SliTaz package receipt.
3 PACKAGE="cherokee"
4 VERSION="1.2.101"
5 CATEGORY="network"
6 SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.cherokee-project.com/"
10 WGET_URL="http://www.cherokee-project.com/download/1.2/$VERSION/$TARBALL"
12 DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
13 BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Use subdirectory for logs
20 sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
22 autoreconf -v
23 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
24 --with-wwwroot=/var/www/cherokee --disable-static \
25 --with-wwwuser=www --with-wwwgroup=www \
26 --enable-os-string="SliTaz" \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE
30 chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs
31 python -m compileall $DESTDIR
32 python -O -m compileall $DESTDIR
33 mkdir -p $DESTDIR/var/log/$PACKAGE $DESTDIR/etc/logrotate.d
34 chown -R www:www $DESTDIR/var/log/$PACKAGE
35 cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
47 cp -a $install/usr/share/cherokee $fs/usr/share
48 cp -a $install/var $fs
49 cp -a $install/etc $fs
50 cp -a $stuff/cherokee $fs/etc/init.d
51 }