aboutsummaryrefslogtreecommitdiffstats
path: root/testing/darkhttpd
diff options
context:
space:
mode:
authorAlan Messias Cordeiro <alancordeiro@gmail.com>2014-01-13 13:36:55 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-01-13 16:49:11 +0000
commit072898275850cfbd7c6c4c404ff08ae120467f17 (patch)
tree7bf102e0a8f2a9219bf5492dd94d95fe3807f96d /testing/darkhttpd
parent9ada4ed84c23858c4d2c2a23704fd1dcfe589139 (diff)
downloadaports-072898275850cfbd7c6c4c404ff08ae120467f17.tar.bz2
aports-072898275850cfbd7c6c4c404ff08ae120467f17.tar.xz
testing/darkhttpd: new package
A simple, single-threaded, static content webserver http://unix4lyfe.org/darkhttpd/
Diffstat (limited to 'testing/darkhttpd')
-rw-r--r--testing/darkhttpd/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/darkhttpd/APKBUILD b/testing/darkhttpd/APKBUILD
new file mode 100644
index 0000000000..8c7dc29d19
--- /dev/null
+++ b/testing/darkhttpd/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Alan Messias Cordeiro <alancordeiro@gmail.com>
+# Maintainer: Alan Messias Cordeiro <alancordeiro@gmail.com>
+pkgname=darkhttpd
+pkgver=1.9
+pkgrel=0
+pkgdesc="A simple, single-threaded, static content webserver"
+url="http://unix4lyfe.org/darkhttpd/"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://unix4lyfe.org/darkhttpd/darkhttpd-$pkgver.tar.bz2"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+}
+
+md5sums="156f239af542028c3fb5c2248aa0db8d darkhttpd-1.9.tar.bz2"
+sha256sums="33ef622069dc167bcf85e46482388f2d6555e25796f64a6c5b215d939f2b41c8 darkhttpd-1.9.tar.bz2"
+sha512sums="dba843a5cdd1825666f1a4f2ae578e694c69f6f3d4e72586ab6cb96ef35e5581295ccbdff80bb8f58aba91f4c3342fe213604cb8eac5cbbd49d34bc8a0d795e4 darkhttpd-1.9.tar.bz2"