wok-current annotate cherokee/receipt @ rev 8136
Add lesstif to lesstif-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 24 21:15:20 2011 +0000 (2011-01-24) |
parents | fdee6789fb14 |
children | d006703d914b |
rev | line source |
---|---|
slaxemulator@7226 | 1 # SliTaz package receipt. |
slaxemulator@7226 | 2 |
slaxemulator@7226 | 3 PACKAGE="cherokee" |
slaxemulator@8053 | 4 VERSION="1.0.18" |
slaxemulator@7226 | 5 CATEGORY="network" |
slaxemulator@7226 | 6 SHORT_DESC="A very fast, fiexible and easy to configure Web Server." |
slaxemulator@7226 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7226 | 8 DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg" |
slaxemulator@7226 | 9 BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake" |
slaxemulator@7226 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7226 | 11 WEB_SITE="http://www.cherokee-project.com/" |
slaxemulator@7226 | 12 WGET_URL="http://www.cherokee-project.com/download/1.0/$VERSION/$TARBALL" |
slaxemulator@7226 | 13 |
slaxemulator@7226 | 14 # Rules to configure and make the package. |
slaxemulator@7226 | 15 compile_rules() |
slaxemulator@7226 | 16 { |
slaxemulator@7226 | 17 cd $src |
slaxemulator@7226 | 18 # Use subdirectory for logs |
slaxemulator@7226 | 19 sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre |
slaxemulator@7226 | 20 |
slaxemulator@7226 | 21 autoreconf -v |
slaxemulator@7226 | 22 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
slaxemulator@7226 | 23 --with-wwwroot=/var/www/cherokee --disable-static \ |
slaxemulator@7226 | 24 --with-wwwuser=www --with-wwwgroup=www \ |
slaxemulator@7226 | 25 --enable-os-string="SliTaz" \ |
slaxemulator@7226 | 26 $CONFIGURE_ARGS && |
slaxemulator@7226 | 27 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7226 | 28 install -D -m644 pam.d_cherokee $PWD/_pkg/etc/pam.d/$PACKAGE |
slaxemulator@7226 | 29 } |
slaxemulator@7226 | 30 |
slaxemulator@7226 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7226 | 32 genpkg_rules() |
slaxemulator@7226 | 33 { |
slaxemulator@7226 | 34 mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d |
slaxemulator@7226 | 35 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7226 | 36 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@7226 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7226 | 38 cp -a $_pkg/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee |
slaxemulator@7226 | 39 cp -a $_pkg/usr/share/cherokee $fs/usr/share |
slaxemulator@7226 | 40 cp -a $_pkg/var $fs |
slaxemulator@7226 | 41 cp -a $_pkg/etc $fs |
slaxemulator@7226 | 42 cp -a stuff/cherokee $fs/etc/init.d |
slaxemulator@7226 | 43 } |
slaxemulator@7226 | 44 |