wok-6.x diff cherokee/receipt @ rev 7340

Add which.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 20 02:04:53 2010 +0000 (2010-11-20)
parents
children db57b12ffc92
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cherokee/receipt	Sat Nov 20 02:04:53 2010 +0000
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cherokee"
     1.7 +VERSION="1.0.9"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
    1.12 +BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.cherokee-project.com/"
    1.15 +WGET_URL="http://www.cherokee-project.com/download/1.0/$VERSION/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	# Use subdirectory for logs
    1.22 +	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
    1.23 +
    1.24 +	# http://code.google.com/p/cherokee/issues/detail?id=1034
    1.25 +	patch -Np3 -E -i ../stuff/r5734-get-rid-of-package-py.patch
    1.26 +	autoreconf -v
    1.27 +	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    1.28 +		--with-wwwroot=/var/www/cherokee --disable-static \
    1.29 +		--with-wwwuser=www --with-wwwgroup=www \
    1.30 +		--enable-os-string="SliTaz" \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make && make DESTDIR=$PWD/_pkg install
    1.33 +	install -D -m644 pam.d_cherokee $PWD/_pkg/etc/pam.d/$PACKAGE
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
    1.40 +	cp -a $_pkg/usr/bin $fs/usr
    1.41 +	cp -a $_pkg/usr/sbin $fs/usr
    1.42 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43 +	cp -a $_pkg/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
    1.44 +	cp -a $_pkg/usr/share/cherokee $fs/usr/share
    1.45 +	cp -a $_pkg/var $fs
    1.46 +	cp -a $_pkg/etc $fs
    1.47 +	cp -a stuff/cherokee $fs/etc/init.d
    1.48 +}
    1.49 +