summaryrefslogtreecommitdiff
path: root/community/darkhttpd
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/darkhttpd
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/darkhttpd')
-rw-r--r--community/darkhttpd/PKGBUILD24
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
+}