[packages] nbd: update to v2.9.13
[openwrt/svn-archive/archive.git] / net / nbd / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=nbd
11 PKG_VERSION:=2.9.13
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/nbd
16 PKG_MD5SUM:=6c83f0f5bfd87ea60f10223843bd9679
17
18 include $(INCLUDE_DIR)/package.mk
19
20 PKG_BUILD_DEPENDS:=glib2 libintl
21
22 define Package/nbd
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=@LINUX_2_6
26 TITLE:=Network Block Device utilities
27 URL:=http://nbd.sourceforge.net
28 endef
29
30 define Package/nbd/description
31 This package contains the network block device client.
32 endef
33
34 CONFIGURE_ARGS+= \
35 --disable-glibtest
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 nbd-client
40 endef
41
42 define Package/nbd/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nbd-client $(1)/usr/sbin/
45 endef
46
47 $(eval $(call BuildPackage,nbd))