-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch add the memstat memory statistics utility to the feeds
repostitory.


- -- Index: memstat/patches/100-memstat.conf.patch
===================================================================
- --- memstat/patches/100-memstat.conf.patch      (revision 0)
+++ memstat/patches/100-memstat.conf.patch      (revision 0)
@@ -0,0 +1,18 @@
+--- memstat-0.4.orig/memstat.conf      1999-11-20 19:09:55.000000000 +0100
++++ memstat-0.4/memstat.conf   2008-05-07 22:45:39.148878616 +0200
+@@ -2,13 +2,10 @@
+ /bin
+ /usr/bin
+ /usr/local/bin
+-/usr/X11R6/bin
+ /lib
+ /usr/lib
+ /usr/local/lib
+-/usr/X11R6/lib
+ /sbin
+ /usr/sbin
+ /usr/local/sbin
+-/lib/libc5-compat
+-/usr/lib/libc5-compat
+\ No newline at end of file
++/opt/bin
Index: memstat/Makefile
===================================================================
- --- memstat/Makefile    (revision 0)
+++ memstat/Makefile    (revision 0)
@@ -0,0 +1,43 @@
+#
+# Copyright (C) 2007 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id: Makefile 9396 2007-10-21 15:59:31Z blogic $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=memstat
+PKG_VERSION:=0.4
+PKG_RELEASE:=0.0.1
+
+PKG_SOURCE:=memstat_$(PKG_VERSION).$(PKG_RELEASE).tar.gz
+PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/memstat/
+PKG_MD5SUM:=74e304c76720bbaefd1b14c7bab08bd7
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/memstat
+  SECTION:=admin
+  CATEGORY:=Administration
+  TITLE:=memory stats
+endef
+
+define Package/memstat/description
+       Give some small statistics about memory usage.
+endef
+
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR) CC=$(TARGET_CC)
+endef
+
+define Package/memstat/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_DIR) $(1)/etc/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/memstat $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/memstat.conf $(1)/etc/
+endef
+
+$(eval $(call BuildPackage,memstat))
+

Joerg Jungermann
- ------------------------------------------------------------
 Rechnerbetrieb Mathematik              | Zustaendig fuer:
 Universitaet-Paderborn  - Fakultaet 5  |   Linux, Web
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKuftsta551Pt/1URAqEWAKCG2xiPBlmAI391sXVz8EFFx/Sb/ACfXNU1
N3ioYHazY+tjkANbf6fz6MU=
=1ezq
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to