# Description: Apache HTTP server version 2.4.x # Maintainer: Juergen Daubert, jue at crux dot nu # URL: http://httpd.apache.org/ # Depends on: apr libpcre openssl zlib libxml2 # Group: apache name=apache version=2.4.25 release=1 source=(http://www.apache.org/dist/httpd/httpd-$version.tar.bz2 \ crux.layout apache) build(){ cd httpd-$version cat $SRC/crux.layout >> config.layout sed -ri '/^(User|Group)/s/daemon/www/' docs/conf/httpd.conf.in ./configure --enable-layout=CRUX \ --with-apr=/usr \ --with-apr-util=/usr \ --with-pcre=/usr \ --enable-so \ --enable-modules=all \ --enable-mods-shared=all \ --enable-mpms-shared=all make make -j1 DESTDIR=$PKG install install -D -m 755 $SRC/apache $PKG/etc/rc.d/apache rm -r $PKG/var/www/htdocs/* rm $PKG/var/www/{error,icons}/README* }