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

Generated by cgit