summaryrefslogtreecommitdiffstats
path: root/package/nbd
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-18 15:03:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-18 15:03:07 +0000
commitf2057583bdaa9609e3bd3c17287c1b62d7925fc7 (patch)
tree1c6ad9ea71a3f466a6972935aa43d1981d5842c4 /package/nbd
parenta28e842fd2015665d507e9469a16a7aa17402722 (diff)
downloadbuildroot-novena-f2057583bdaa9609e3bd3c17287c1b62d7925fc7.tar.gz
buildroot-novena-f2057583bdaa9609e3bd3c17287c1b62d7925fc7.zip
nbd: bump version and depend on glib2
Patch by Thiago A. Correa.
Diffstat (limited to 'package/nbd')
-rw-r--r--package/nbd/Config.in3
-rw-r--r--package/nbd/nbd.mk8
2 files changed, 7 insertions, 4 deletions
diff --git a/package/nbd/Config.in b/package/nbd/Config.in
index a8be78b45..db323c5b2 100644
--- a/package/nbd/Config.in
+++ b/package/nbd/Config.in
@@ -1,9 +1,12 @@
config BR2_PACKAGE_NBD
bool "nbd"
default n
+ select BR2_PACKAGE_LIBGLIB2
help
NBD is a set of utilities to configure network block devices,
allowing access to remote block devices over TCP/IP network.
Notice: This package only provides the NBD client.
+ Depends on glib.
+
http://nbd.sf.net/
diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk
index 80ee2b8b4..fba0ae272 100644
--- a/package/nbd/nbd.mk
+++ b/package/nbd/nbd.mk
@@ -4,7 +4,7 @@
#
#############################################################
-NBD_VERSION=2.8.6
+NBD_VERSION=2.9.11
NBD_SOURCE=nbd-$(NBD_VERSION).tar.bz2
NBD_CAT:=$(BZCAT)
NBD_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/nbd/
@@ -15,7 +15,7 @@ $(DL_DIR)/$(NBD_SOURCE):
$(NBD_DIR)/.unpacked: $(DL_DIR)/$(NBD_SOURCE)
$(NBD_CAT) $(DL_DIR)/$(NBD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(NBD_DIR)/.unpacked
+ touch $@
$(NBD_DIR)/.configured: $(NBD_DIR)/.unpacked
(cd $(NBD_DIR); rm -rf config.cache; \
@@ -28,7 +28,7 @@ $(NBD_DIR)/.configured: $(NBD_DIR)/.unpacked
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
)
- touch $(NBD_DIR)/.configured
+ touch $@
$(NBD_DIR)/nbd-client: $(NBD_DIR)/.configured
$(MAKE) -C $(NBD_DIR) nbd-client
@@ -37,7 +37,7 @@ $(TARGET_DIR)/sbin/nbd-client: $(NBD_DIR)/nbd-client
cp $< $@
$(STRIPCMD) $@
-nbd: uclibc $(TARGET_DIR)/sbin/nbd-client
+nbd: uclibc libglib2 $(TARGET_DIR)/sbin/nbd-client
nbd-source: $(DL_DIR)/$(NBD_SOURCE)