2 # Copyright (C) 2010-2014 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).tgz
15 PKG_SOURCE_URL:=@SF/aoetools/vblade
16 PKG_MD5SUM:=0a2a257737a808d8f2fbfa5de3172337
18 include $(INCLUDE_DIR)/package.mk
23 TITLE:=Vblade AoE Target
24 URL:=http://aoetools.sourceforge.net/
27 define Package/$(PKG_NAME)/conffiles
31 define Package/vblade/description
32 The vblade is the virtual EtherDrive (R) blade, a program that makes a
33 seekable file available over an ethernet local area network (LAN) via
34 the ATA over Ethernet (AoE) protocol.
37 CONFIGURE_ARGS += NPERSHELF=16
39 define Package/$(PKG_NAME)/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/vblade $(1)/usr/sbin/
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/vbladed $(1)/usr/sbin/
43 $(INSTALL_DIR) $(1)/etc/init.d/
44 $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
45 $(INSTALL_DIR) $(1)/etc/config
46 $(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
49 $(eval $(call BuildPackage,$(PKG_NAME)))