Ingen beskrivning

Makefile 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=nbd
  9. PKG_VERSION:=2.9.23
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=@SF/nbd
  13. PKG_MD5SUM:=065b6ded41887a08be6dbb8d77280f24
  14. PKG_MAINTAINER:=Marcin Jurkowski <marcin1j@gmail.com>
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. # -liconv due to glib2, to be revisited later
  18. include $(INCLUDE_DIR)/nls.mk
  19. PKG_BUILD_DEPENDS:=glib2 libintl
  20. define Package/nbd
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=Network Block Device utilities
  24. URL:=http://nbd.sourceforge.net
  25. DEPENDS:=+kmod-nbd
  26. endef
  27. define Package/nbd/description
  28. This package contains the network block device client.
  29. endef
  30. CONFIGURE_ARGS+= \
  31. --disable-glibtest
  32. define Build/Compile
  33. $(MAKE) -C $(PKG_BUILD_DIR) \
  34. nbd-client
  35. endef
  36. define Package/nbd/install
  37. $(INSTALL_DIR) $(1)/usr/sbin
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/nbd-client $(1)/usr/sbin/
  39. endef
  40. $(eval $(call BuildPackage,nbd))