summaryrefslogtreecommitdiff
path: root/lighttpd/Pkgfile
blob: 106cb839530764f06ea206399b429353c99398f6 (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 # Depends on: libpcre
    5 
    6 name=lighttpd
    7 version=1.4.57
    8 release=1
    9 source=(https://download.$name.net/$name/releases-1.4.x/$name-$version.tar.xz \
   10         $name.conf \
   11         $name.rc)
   12 
   13 build() {
   14     cd $name-$version
   15     ./configure --prefix=/usr --libdir=/usr/lib/$name --with-openssl --with-pcre
   16     make
   17     make DESTDIR=$PKG install
   18 
   19     install -D -m 644 $SRC/$name.conf $PKG/etc/$name.conf
   20     install -D -m 755 $SRC/$name.rc $PKG/etc/rc.d/$name
   21     install -d $PKG/var/www/{htdocs,logs}
   22     install -d $PKG/var/run
   23     install -d $PKG/etc/ssl/certs
   24     #touch $PKG/var/run/lighttpd.pid
   25     touch $PKG/etc/ssl/certs/lighttpd.pem
   26     chmod 0600 $PKG/etc/ssl/certs/lighttpd.pem
   27 }

Generated by cgit