97d0976518
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8389 3c298f89-4303-0410-b956-a3cf2f4a3e73
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
# $Id: $
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=aoetools
|
|
PKG_VERSION:=16
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/aoetools
|
|
PKG_MD5SUM:=15742876cb21c2b1196cd6772f401e81
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/aoetools
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=ATA over Ethernet tools
|
|
DESCRIPTION:=\
|
|
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.
|
|
URL:=http://aoetools.sourceforge.net/
|
|
endef
|
|
|
|
CONFIGURE_ARGS += NPERSHELF=16
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoe-discover $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoe-flush $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoe-mkdevs $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoe-mkshelf $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoe-revalidate $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoe-stat $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aoeping $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|