blob: b554e9e6a70f6f9a5cfb02f1f6eba906d61e47ac (
plain)
1 # Description: Secure, fast, compliant and very flexible web server
2 # URL: http://www.lighttpd.net/
3 # Maintainer: Simone Rota, sip at crux dot nu
4 # Packager: Jukka Heino, jukka dot heino at gmail dot com
5 # Depends on:
6
7 name=lighttpd
8 version=1.4.16
9 release=1
10 source=(http://www.$name.net/download/$name-$version.tar.gz \
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
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 }
|