wok-next diff cherokee/receipt @ rev 12023

pcmanfm: new icon (Thanks moulefrite)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 06 20:38:12 2012 +0100 (2012-03-06)
parents a1644dbcf632
children 21cd28c4630a
line diff
     1.1 --- a/cherokee/receipt	Sat May 07 23:47:19 2011 +0200
     1.2 +++ b/cherokee/receipt	Tue Mar 06 20:38:12 2012 +0100
     1.3 @@ -1,16 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cherokee"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.2.101"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 -DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
    1.13 -BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.cherokee-project.com/"
    1.16  WGET_URL="http://www.cherokee-project.com/download/1.2/$VERSION/$TARBALL"
    1.17  
    1.18 +DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
    1.19 +BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 @@ -24,21 +25,28 @@
    1.25  		--with-wwwuser=www --with-wwwgroup=www \
    1.26  		--enable-os-string="SliTaz" \
    1.27  		$CONFIGURE_ARGS &&
    1.28 -	make && make DESTDIR=$PWD/_pkg install
    1.29 -	install -D -m644 pam.d_cherokee $PWD/_pkg/etc/pam.d/$PACKAGE
    1.30 +	make && make DESTDIR=$DESTDIR install
    1.31 +	install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE
    1.32 +	chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs
    1.33 +	python -m compileall $DESTDIR
    1.34 +	python -O -m compileall $DESTDIR
    1.35 +	mkdir -p $DESTDIR/var/log/$PACKAGE $DESTDIR/etc/logrotate.d
    1.36 +	chown -R www:www $DESTDIR/var/log/$PACKAGE
    1.37 +	cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE
    1.38 +	
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
    1.45 -	cp -a $_pkg/usr/bin $fs/usr
    1.46 -	cp -a $_pkg/usr/sbin $fs/usr
    1.47 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.48 -	cp -a $_pkg/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
    1.49 -	cp -a $_pkg/usr/share/cherokee $fs/usr/share
    1.50 -	cp -a $_pkg/var $fs
    1.51 -	cp -a $_pkg/etc $fs
    1.52 +	cp -a $install/usr/bin $fs/usr
    1.53 +	cp -a $install/usr/sbin $fs/usr
    1.54 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.55 +	cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
    1.56 +	cp -a $install/usr/share/cherokee $fs/usr/share
    1.57 +	cp -a $install/var $fs
    1.58 +	cp -a $install/etc $fs
    1.59  	cp -a $stuff/cherokee $fs/etc/init.d
    1.60  }
    1.61