pkgname: httpd
name: Apache HTTP Server
description: Open-source HTTP Web Server
version: 2.2.29
homepage: http://httpd.apache.org
url: http://archive.apache.org/dist/httpd/httpd-2.2.29.tar.gz
sha1: eea518d4b8be8e05697ae1d6ce449cd474868d0d
md5: 7036a6eb5fb3b85be7a804255438b795
prefix: /opt/sf/apache

compile:
  cflags:
    solaris:
      64: -xtarget=generic -m64 -xO4

build: |
  ./configure --prefix=[% PREFIX %] \
    --with-ssl=/usr/sfw/include \
    --enable-rewrite \
    --enable-ssl \
    --enable-proxy \
    --enable-proxy-http \
    --enable-proxy-balancer \
    --enable-cache \
    --enable-disk-cache \
    --with-mpm=prefork \
    --enable-mods-shared=all
  make
  make install DESTDIR=[% FAKEROOT %]

maintainer:
  author: James F Wilkus
  email: jfwilkus@cpan.org
  nickname: jfwilkus

prune:
  directories:
    - manual
    - man
    - include
    - build
    - cgi-bin
    - conf/extra
    - conf/original
    - icons
    - error
  files:
    - error/README
    - bin/apxs