wok-4.x view cherokee/receipt @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (22 months ago)
parents f661cecd3b06
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cherokee"
4 VERSION="1.2.104"
5 CATEGORY="network"
6 SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
7 MAINTAINER="shann@slitaz.org"
8 TARBALL="$PACKAGE-webserver.zip"
9 WEB_SITE="http://www.cherokee-project.com/"
10 WGET_URL="https://github.com/shannara/cherokee-webserver/archive/master.zip"
11 PROVIDE="lighttpd"
13 DEPENDS="pcre cyrus-sasl openssl python libldap" #libmysqlclient ffmpeg
14 BUILD_DEPENDS="autoconf automake libtool pcre-dev cyrus-sasl-dev openssl-dev \
15 openldap-dev python-dev pam-dev gettext" #libmysqlclient ffmpeg-dev
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Use subdirectory for logs
22 sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
24 ./autogen.sh --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=$DESTDIR install
30 install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE
31 chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs
32 python -m compileall $DESTDIR
33 python -O -m compileall $DESTDIR
34 mkdir -p $DESTDIR/var/log/$PACKAGE $DESTDIR/etc/logrotate.d
35 chown -R www:www $DESTDIR/var/log/$PACKAGE
36 cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
48 cp -a $install/usr/share/cherokee $fs/usr/share
49 cp -a $install/var $fs
50 cp -a $install/etc $fs
51 cp -a $stuff/cherokee $fs/etc/init.d
52 }