source: packages/net/vblade/Makefile @ 22429

Last change on this file since 22429 was 22429, checked in by florian, 6 years ago

[package] add vblade

This is a package for the vblade tool, which exports disks over the
aoe protocol. We already have the aoetools for connecting to them.

Signed-off-by: Kyle Anderson <kyle@…>

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=vblade
11PKG_VERSION:=20
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15PKG_SOURCE_URL:=@SF/aoetools/vblade
16PKG_MD5SUM:=3c80e4a6bc7d66ae0c235b88cb44bd59
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/vblade
21  SECTION:=net
22  CATEGORY:=Network
23  TITLE:=Vblade AoE Target
24  URL:=http://aoetools.sourceforge.net/
25endef
26
27define Package/$(PKG_NAME)/conffiles
28/etc/config/vblade
29endef
30
31
32define Package/vblade/description
33        The vblade is the virtual EtherDrive (R) blade, a program that makes a
34        seekable file available over an ethernet local area network (LAN) via
35        the ATA over Ethernet (AoE) protocol.
36endef
37
38CONFIGURE_ARGS +=  NPERSHELF=16
39
40define Package/$(PKG_NAME)/install
41        $(INSTALL_DIR) $(1)/usr/sbin
42        $(INSTALL_BIN) $(PKG_BUILD_DIR)/vblade $(1)/usr/sbin/
43        $(INSTALL_BIN) $(PKG_BUILD_DIR)/vbladed $(1)/usr/sbin/
44        $(INSTALL_DIR) $(1)/etc/init.d/
45        $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
46        $(INSTALL_DIR) $(1)/etc/config
47        $(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
48endef
49
50$(eval $(call BuildPackage,$(PKG_NAME)))
Note: See TracBrowser for help on using the repository browser.