Root/bonnie/Makefile

1#
2# Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
3# This is free software, licensed under the GNU General Public License v2.
4# See /LICENSE for more information.
5#
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=bonnie
10PKG_VERSION:=1.4
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
12PKG_SOURCE_URL:=http://www.garloff.de/kurt/linux/bonnie/
13PKG_RELEASE:=1
14PKG_INSTALL:=1
15PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/bonnie
20  TITLE:=Bonnie
21  SECTION:=utils
22  CATEGORY:=Utilities
23  URL:=http://www.garloff.de/kurt/linux/bonnie/
24endef
25
26define Package/bonnie/description
27Bonnie is a simple but useful tool to determine the speed of your filesystem,
28your OS caching, the underlying device and your libc
29endef
30
31define Build/Configure
32    $(call Build/Configure/Default)
33endef
34
35define Build/Compile
36    $(call Build/Compile/Default)
37endef
38
39define Build/Install
40endef
41
42define Package/bonnie/install
43    $(INSTALL_DIR) $(1)/usr/bin/
44    $(INSTALL_BIN) $(PKG_BUILD_DIR)/Bonnie $(1)/usr/bin/$(PKG_NAME)
45endef
46
47$(eval $(call BuildPackage,bonnie))
48
49# The following comments configure the Bonnie editor. Just ignore them.
50# Local Variables:
51# compile-command: "make -C ~/openwrt-xburst.full_system package/bonnie/{clean,compile} V=99"
52# End:
53

Archive Download this file



interactive