wok-current rev 11172

Up: cherokee to 1.2.101.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 15:35:18 2011 +0000 (2011-11-02)
parents e20765e81e23
children d2d3a1cb8911
files cherokee-dev/receipt cherokee-doc/receipt cherokee/receipt
line diff
     1.1 --- a/cherokee-dev/receipt	Wed Nov 02 15:31:12 2011 +0000
     1.2 +++ b/cherokee-dev/receipt	Wed Nov 02 15:35:18 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cherokee-dev"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.2.101"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="devel files for cherokee"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -13,9 +13,9 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/lib/cherokee $fs/usr/share
    1.16 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee
    1.18 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.19 -	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.20 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/share/aclocal $fs/usr/share
    1.24  }
    1.25  
     2.1 --- a/cherokee-doc/receipt	Wed Nov 02 15:31:12 2011 +0000
     2.2 +++ b/cherokee-doc/receipt	Wed Nov 02 15:35:18 2011 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="cherokee-doc"
     2.7 -VERSION="1.2.1"
     2.8 +VERSION="1.2.101"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Docs for cherokee"
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12 @@ -13,6 +13,6 @@
    2.13  genpkg_rules()
    2.14  {
    2.15  	mkdir -p $fs/usr/share
    2.16 -	cp -a $_pkg/usr/share/doc $fs/usr/share
    2.17 +	cp -a $install/usr/share/doc $fs/usr/share
    2.18  }
    2.19  
     3.1 --- a/cherokee/receipt	Wed Nov 02 15:31:12 2011 +0000
     3.2 +++ b/cherokee/receipt	Wed Nov 02 15:35:18 2011 +0000
     3.3 @@ -1,16 +1,17 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="cherokee"
     3.7 -VERSION="1.2.1"
     3.8 +VERSION="1.2.101"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
    3.11  MAINTAINER="slaxemulator@gmail.com"
    3.12 -DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
    3.13 -BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
    3.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15  WEB_SITE="http://www.cherokee-project.com/"
    3.16  WGET_URL="http://www.cherokee-project.com/download/1.2/$VERSION/$TARBALL"
    3.17  
    3.18 +DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
    3.19 +BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
    3.20 +
    3.21  # Rules to configure and make the package.
    3.22  compile_rules()
    3.23  {
    3.24 @@ -24,21 +25,28 @@
    3.25  		--with-wwwuser=www --with-wwwgroup=www \
    3.26  		--enable-os-string="SliTaz" \
    3.27  		$CONFIGURE_ARGS &&
    3.28 -	make && make DESTDIR=$PWD/_pkg install
    3.29 -	install -D -m644 pam.d_cherokee $PWD/_pkg/etc/pam.d/$PACKAGE
    3.30 +	make && make DESTDIR=$DESTDIR install
    3.31 +	install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE
    3.32 +	chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs
    3.33 +	python -m compileall $DESTDIR
    3.34 +	python -O -m compileall $DESTDIR
    3.35 +	mkdir -p $DESTDIR/var/log/$PACKAGE $DESTDIR/etc/logrotate.d
    3.36 +	chown -R www:www $DESTDIR/var/log/$PACKAGE
    3.37 +	cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE
    3.38 +	
    3.39  }
    3.40  
    3.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.42  genpkg_rules()
    3.43  {
    3.44  	mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
    3.45 -	cp -a $_pkg/usr/bin $fs/usr
    3.46 -	cp -a $_pkg/usr/sbin $fs/usr
    3.47 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.48 -	cp -a $_pkg/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
    3.49 -	cp -a $_pkg/usr/share/cherokee $fs/usr/share
    3.50 -	cp -a $_pkg/var $fs
    3.51 -	cp -a $_pkg/etc $fs
    3.52 +	cp -a $install/usr/bin $fs/usr
    3.53 +	cp -a $install/usr/sbin $fs/usr
    3.54 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.55 +	cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
    3.56 +	cp -a $install/usr/share/cherokee $fs/usr/share
    3.57 +	cp -a $install/var $fs
    3.58 +	cp -a $install/etc $fs
    3.59  	cp -a $stuff/cherokee $fs/etc/init.d
    3.60  }
    3.61