2 # Copyright (C) 2006-2011 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).tar.bz2
15 PKG_SOURCE_URL:=@SF/nbd
16 PKG_MD5SUM:=065b6ded41887a08be6dbb8d77280f24
20 include $(INCLUDE_DIR)/package.mk
22 # -liconv due to glib2, to be revisited later
23 include $(INCLUDE_DIR)/nls.mk
25 PKG_BUILD_DEPENDS:=glib2 libintl
30 TITLE:=Network Block Device utilities
31 URL:=http://nbd.sourceforge.net
35 define Package/nbd/description
36 This package contains the network block device client.
43 $(MAKE) -C $(PKG_BUILD_DIR) \
47 define Package/nbd/install
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/nbd-client $(1)/usr/sbin/
52 $(eval $(call BuildPackage,nbd))