blob: ff784b9090d0321637dede56c7d7deec8bd481ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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))
|