opt/lighttpd/Pkgfile

30 lines
875 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Secure, fast, compliant and very flexible web server
# URL: http://www.lighttpd.net/
2006-09-24 22:54:32 +02:00
# Maintainer: Simone Rota, sip at crux dot nu
2006-04-13 06:29:47 +02:00
# Packager: Jukka Heino, jukka dot heino at gmail dot com
2006-02-23 16:26:10 +01:00
# Depends on:
name=lighttpd
version=1.4.15
2006-02-23 16:26:10 +01:00
release=1
source=(http://www.$name.net/download/$name-$version.tar.gz \
$name.conf \
$name.rc)
build() {
cd $name-$version
./configure --prefix=/usr --libdir=/usr/lib/$name --with-openssl \
--mandir=/usr/man
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
install -D -m 644 $SRC/$name.conf $PKG/etc/$name.conf
install -D -m 755 $SRC/$name.rc $PKG/etc/rc.d/$name
install -d $PKG/var/www/{htdocs,logs}
install -d $PKG/var/run
install -d $PKG/etc/ssl/certs
touch $PKG/var/run/lighttpd.pid
touch $PKG/etc/ssl/certs/lighttpd.pem
chmod 0600 $PKG/etc/ssl/certs/lighttpd.pem
}