2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/aoetools
17 PKG_MD5SUM
:=15742876cb21c2b1196cd6772f401e81
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/aoetools
26 TITLE
:=ATA over Ethernet tools
28 The aoetools are programs for users of the ATA over Ethernet \
29 (AoE
) network storage protocol
, a simple protocol for using \
30 storage over an ethernet LAN. The vblade program
(storage \
31 target
) exports a block device using AoE.
32 URL
:=http
://aoetools.sourceforge.net
/
35 CONFIGURE_ARGS
+= NPERSHELF
=16
37 define Package
/$(PKG_NAME
)/install
38 $(INSTALL_DIR
) $(1)/usr
/bin
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoe-discover
$(1)/usr
/bin
/
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoe-flush
$(1)/usr
/bin
/
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoe-mkdevs
$(1)/usr
/bin
/
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoe-mkshelf
$(1)/usr
/bin
/
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoe-revalidate
$(1)/usr
/bin
/
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoe-stat
$(1)/usr
/bin
/
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aoeping
$(1)/usr
/bin
/
48 $(eval
$(call BuildPackage
,$(PKG_NAME
)))