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
:=a327cd23688df45a1c889e28c6494d70
20 include $(INCLUDE_DIR
)/package.mk
22 PKG_BUILD_DEPENDS
:=glib2 libintl
27 TITLE
:=Network Block Device utilities
28 URL
:=http
://nbd.sourceforge.net
29 DEPENDS
:=@
!LINUX_2_4
+kmod-nbd
32 define Package
/nbd
/description
33 This package contains the network block device client.
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 define Package
/nbd
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/nbd-client
$(1)/usr
/sbin
/
49 $(eval
$(call BuildPackage
,nbd
))