source: packages/net/nbd/Makefile @ 27427

Last change on this file since 27427 was 27427, checked in by swalker, 5 years ago

[packages] nbd: update to 2.9.22

File size: 1.0 KB
Line 
1#
2# Copyright (C) 2006-2011 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:=nbd
11PKG_VERSION:=2.9.22
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@SF/nbd
16PKG_MD5SUM:=ff79803165a349a84d526bfcea820b12
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22# -liconv due to glib2, to be revisited later
23include $(INCLUDE_DIR)/nls.mk
24
25PKG_BUILD_DEPENDS:=glib2 libintl
26
27define Package/nbd
28  SECTION:=net
29  CATEGORY:=Network
30  TITLE:=Network Block Device utilities
31  URL:=http://nbd.sourceforge.net
32  DEPENDS:=@!LINUX_2_4 +kmod-nbd
33endef
34
35define Package/nbd/description
36  This package contains the network block device client.
37endef
38
39CONFIGURE_ARGS+= \
40        --disable-glibtest
41
42define Build/Compile
43        $(MAKE) -C $(PKG_BUILD_DIR) \
44                nbd-client
45endef
46
47define Package/nbd/install
48        $(INSTALL_DIR) $(1)/usr/sbin
49        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/nbd-client $(1)/usr/sbin/
50endef
51
52$(eval $(call BuildPackage,nbd))
Note: See TracBrowser for help on using the repository browser.