2006-09-28 12:19:43 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
2010-02-09 11:40:47 +01:00
|
|
|
# nbd
|
2006-09-28 12:19:43 +02:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-06-24 12:46:02 +02:00
|
|
|
NBD_VERSION = 2.9.15
|
2010-02-09 11:40:47 +01:00
|
|
|
NBD_SOURCE = nbd-$(NBD_VERSION).tar.bz2
|
2006-09-28 12:19:43 +02:00
|
|
|
NBD_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/nbd/
|
2010-02-09 11:40:47 +01:00
|
|
|
NBD_CONF_OPT = $(if $(BR2_LARGEFILE),--enable-lfs,--disable-lfs)
|
|
|
|
NBD_DEPENDENCIES = libglib2
|
2006-09-28 12:19:43 +02:00
|
|
|
|
2010-02-09 11:40:47 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,nbd))
|
|
|
|
|
|
|
|
$(NBD_HOOK_POST_INSTALL): $(NBD_TARGET_INSTALL_TARGET)
|
|
|
|
ifneq ($(BR2_NBD_CLIENT),y)
|
|
|
|
rm -f $(TARGET_DIR)/usr/sbin/nbd-client
|
2009-11-22 21:18:11 +01:00
|
|
|
endif
|
2010-02-09 11:40:47 +01:00
|
|
|
ifneq ($(BR2_NBD_SERVER),y)
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/nbd-server
|
2009-11-22 21:18:11 +01:00
|
|
|
endif
|
|
|
|
touch $@
|