summaryrefslogtreecommitdiff
path: root/package/stats/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:47:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:35 +0100
commit49e03ead81a32c7443a1c38ec06ead54162fda93 (patch)
treeaa8228b666f37ae18996b94aeeba19826f8d11a2 /package/stats/Makefile
parent47b87aaf4534d12770c75bbc006b27135fdd5225 (diff)
port the stats utility from Rusty Russell
Diffstat (limited to 'package/stats/Makefile')
-rw-r--r--package/stats/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/stats/Makefile b/package/stats/Makefile
new file mode 100644
index 000000000..0ff6c26de
--- /dev/null
+++ b/package/stats/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+
+PKG_NAME:= stats
+PKG_VERSION:= 82bd4977b607b8714f361467e37a9d801ff911b6
+PKG_RELEASE:= 1
+PKG_DESCR:= Rusty Russell\'s stats utility
+PKG_SECTION:= sys/utils
+PKG_URL:= https://github.com/rustyrussell/stats
+PKG_SITES:= git://github.com/rustyrussell/stats.git
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,STATS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_STATS)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/local/bin/stats \
+ $(IDIR_STATS)/usr/bin
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk