summaryrefslogtreecommitdiff
path: root/p2ptbl
diff options
context:
space:
mode:
Diffstat (limited to 'p2ptbl')
-rw-r--r--p2ptbl/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/p2ptbl/Makefile b/p2ptbl/Makefile
new file mode 100644
index 0000000..ff784b9
--- /dev/null
+++ b/p2ptbl/Makefile
@@ -0,0 +1,41 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=p2ptbl
+PKG_VERSION:=20120620
+PKG_RELEASE:=1
+PKG_REV:=4cfc146c8cc1470dca98a6ea6e4fcf3a5f2378c9
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_REV).tar.gz
+PKG_MD5SUM:=always-use-git
+PKG_SOURCE_URL:=git://code.sotun.de/ffj/p2ptbl
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=$(PKG_REV)
+PKG_SOURCE_PROTO:=git
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/p2ptbl
+ SECTION:=base
+ CATEGORY:=Network
+ DEFAULT:=n
+ TITLE:=lightweight distributed key-value store
+ URL:=http://code.sotun.de/git/ffj/p2ptbl
+ DEPENDS:=+shuf +hbbp +coreutils +coreutils-join
+endef
+
+define Package/p2ptbl/description
+ P2P tables are a lightweight distributed key-value store with
+ built-in collision arbitration. Eventual consistency is maintained
+ using a HBBP-based gossip protocol.
+endef
+
+define Build/Compile
+endef
+
+define Package/p2ptbl/install
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/p2ptbl $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/p2ptbl-recv $(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,p2ptbl))
contact: Jan Huwald // Impressum