[net] Telephony: Yate: Added conffiles. Fixes overwriting of configuration on reinst...
[openwrt/svn-archive/archive.git] / net / aoetools / Makefile
1 #
2 # Copyright (C) 2007-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=aoetools
11 PKG_VERSION:=32
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/aoetools
16 PKG_MD5SUM:=62c8b5664d413019d0008f27ab5dc4d1
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/aoetools
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=ATA over Ethernet tools
26 URL:=http://aoetools.sourceforge.net/
27 DEPENDS:=+kmod-aoe +libpthread
28 endef
29
30 define Package/aoetools/description
31 The aoetools are programs for users of the ATA over Ethernet (AoE)
32 network storage protocol, a simple protocol for using storage over an
33 ethernet LAN. The vblade program (storage target) exports a block
34 device using AoE.
35 endef
36
37 CONFIGURE_ARGS += NPERSHELF=16
38
39 define Package/$(PKG_NAME)/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) \
42 $(PKG_INSTALL_DIR)/usr/sbin/aoe-{discover,flush,interfaces,mkdevs,mkshelf,revalidate,sancheck,stat,version} \
43 $(1)/usr/sbin/
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/aoe{cfg,ping} $(1)/usr/sbin/
45 endef
46
47 $(eval $(call BuildPackage,$(PKG_NAME)))