diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/darkhttpd |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/darkhttpd')
-rw-r--r-- | community/darkhttpd/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/darkhttpd/PKGBUILD b/community/darkhttpd/PKGBUILD new file mode 100644 index 000000000..00d9be2bc --- /dev/null +++ b/community/darkhttpd/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 17385 2010-05-24 09:45:21Z spupykin $ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> + +pkgname=darkhttpd +pkgver=1.7 +pkgrel=3 +pkgdesc="A small, static webserver" +arch=('i686' 'x86_64') +url="http://dmr.ath.cx/net/darkhttpd/" +license=('BSD') +depends=('glibc') +source=($url/$pkgname-$pkgver.tar.bz2) +md5sums=('76e55a5a443094016daf141062ae62b7') + +build() { + cd $startdir/src/$pkgname-$pkgver + + # Causes nasty output in 1.5 because of missing uname, but doesn't affect the build + make || return 1 + install -D $startdir/src/$pkgname-$pkgver/darkhttpd $startdir/pkg/usr/sbin/darkhttpd || return 1 + + mkdir -p $pkgdir/usr/share/licenses/$pkgname && \ + head -n 18 darkhttpd.c >$pkgdir/usr/share/licenses/$pkgname/license +} |