updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / bozohttpd / PKGBUILD
blob59122bf4e9fab1783aaf7f2d84dfd41e65a96f17
1 # Maintainer: Dan Serban
2 # Contributor: Nathan Owe <ndowens04 at gmail>
4 pkgname=bozohttpd
5 pkgver=20100920
6 pkgrel=1
7 pkgdesc="A small and secure HTTP version 1.1 server"
8 arch=(i686 x86_64)
9 url="http://www.eterna.com.au/bozohttpd/"
10 license=(BSD)
11 depends=(openssl)
12 source=("http://www.eterna.com.au/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
13 md5sums=('a86229cfa42909f4528bc5d873737a8e') 
15 build()
17   cd "${pkgname}-${pkgver}"
18   cp Makefile.boot Makefile 
19   make || return 1
20   mkdir -p "${pkgdir}"/usr/{bin,share/{${pkgname},man/man8}}
21   install -D *.* testsuite/*.* testsuite/data/*.* "${pkgdir}/usr/share/${pkgname}/"
22   install -m755 bozohttpd "${pkgdir}/usr/bin/"
23   install -m644 bozohttpd.8 "${pkgdir}/usr/share/man/man8/"