2 # Copyright (C) 2007-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/aoetools
16 PKG_MD5SUM
:=62c8b5664d413019d0008f27ab5dc4d1
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/aoetools
25 TITLE
:=ATA over Ethernet tools
26 URL
:=http
://aoetools.sourceforge.net
/
27 DEPENDS
:=+kmod-aoe
+libpthread
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
37 CONFIGURE_ARGS
+= NPERSHELF
=16
39 define Package
/$(PKG_NAME
)/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
42 $(PKG_INSTALL_DIR
)/usr
/sbin
/aoe-
{discover
,flush
,interfaces
,mkdevs
,mkshelf
,revalidate
,sancheck
,stat
,version
} \
44 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/aoe
{cfg
,ping
} $(1)/usr
/sbin
/
47 $(eval
$(call BuildPackage
,$(PKG_NAME
)))