blob: 624e6c353bbcc469c5058b5932c089d23edfa279 (
plain)
1 # Description: Secure, fast, compliant and very flexible web server
2 # URL: http://www.lighttpd.net/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: Jukka Heino, jukka dot heino at gmail dot com
5 # Depends on: libpcre
6
7 name=lighttpd
8 version=1.4.28
9 release=1
10 source=(http://download.$name.net/$name/releases-1.4.x/$name-$version.tar.bz2 \
11 $name.conf \
12 $name.rc)
13
14 build() {
15 cd $name-$version
16 ./configure --prefix=/usr --libdir=/usr/lib/$name --with-openssl \
17 --mandir=/usr/man --with-pcre
18 make
19 make DESTDIR=$PKG install
20
21 install -D -m 644 $SRC/$name.conf $PKG/etc/$name.conf
22 install -D -m 755 $SRC/$name.rc $PKG/etc/rc.d/$name
23 install -d $PKG/var/www/{htdocs,logs}
24 install -d $PKG/var/run
25 install -d $PKG/etc/ssl/certs
26 touch $PKG/var/run/lighttpd.pid
27 touch $PKG/etc/ssl/certs/lighttpd.pem
28 chmod 0600 $PKG/etc/ssl/certs/lighttpd.pem
29 }
|