summaryrefslogtreecommitdiff
path: root/repo/util/webfs.xibuild
diff options
context:
space:
mode:
authordavidovski <git@davidovski.xyz>2022-02-16 09:43:38 +0000
committerdavidovski <git@davidovski.xyz>2022-02-16 09:43:38 +0000
commitd070e765c3c6a64aaf2236f41c3d6b7d388a452e (patch)
tree024facf2bc9d4d2d47b34bf966559e1338b6cc88 /repo/util/webfs.xibuild
parent045734ceeb5b8e8c2cdaa9f62f89de57db07a6ec (diff)
added webfsd
Diffstat (limited to 'repo/util/webfs.xibuild')
-rw-r--r--repo/util/webfs.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/util/webfs.xibuild b/repo/util/webfs.xibuild
new file mode 100644
index 0000000..d3e3475
--- /dev/null
+++ b/repo/util/webfs.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+MAKEDEPS=(make )
+DEPS=(openssl mime-types )
+
+PKG_VER=1.21
+SOURCE=https://www.kraxel.org/releases/webfs/webfs-$PKG_VER.tar.gz
+DESC="A simple instant server for static http content"
+
+build() {
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}