2009-07-16 12:49:35 +00:00
|
|
|
#
|
2014-03-17 17:14:27 +00:00
|
|
|
# Copyright (C) 2007-2014 OpenWrt.org
|
2007-08-10 13:10:32 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=aoetools
|
2011-01-02 18:31:49 +00:00
|
|
|
PKG_VERSION:=32
|
2014-03-17 17:14:27 +00:00
|
|
|
PKG_RELEASE:=2
|
2007-08-10 13:10:32 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/aoetools
|
2011-01-02 18:31:49 +00:00
|
|
|
PKG_MD5SUM:=62c8b5664d413019d0008f27ab5dc4d1
|
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
2007-08-10 13:10:32 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/aoetools
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=ATA over Ethernet tools
|
|
|
|
URL:=http://aoetools.sourceforge.net/
|
2011-01-02 18:31:49 +00:00
|
|
|
DEPENDS:=+kmod-aoe +libpthread
|
2007-08-10 13:10:32 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/aoetools/description
|
2008-07-06 14:54:19 +00:00
|
|
|
The aoetools are programs for users of the ATA over Ethernet (AoE)
|
|
|
|
network storage protocol, a simple protocol for using storage over an
|
|
|
|
ethernet LAN. The vblade program (storage target) exports a block
|
|
|
|
device using AoE.
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
2014-03-17 17:14:27 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)"
|
2007-08-10 13:10:32 +00:00
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/install
|
2011-01-02 18:31:49 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/sbin/aoe-{discover,flush,interfaces,mkdevs,mkshelf,revalidate,sancheck,stat,version} \
|
|
|
|
$(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/aoe{cfg,ping} $(1)/usr/sbin/
|
2007-08-10 13:10:32 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|