2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://downloads.sourceforge.net/nfs/
17 PKG_MD5SUM:=df88c6fe88a26f9797e74cb2d3291a2a
19 PKG_BUILD_DEPENDS:=libgssapi librpcsecgss libnfsidmap libwrap
21 include $(INCLUDE_DIR)/package.mk
23 define Package/nfs-utils/Default
26 URL:=http://sourceforge.net/projects/nfs/
29 define Package/nfs-utils
30 $(call Package/nfs-utils/Default)
31 DEPENDS:=+libwrap +libevent +libblkid
32 TITLE:=updated mount utility (includes nfs4)
35 define Package/nfs-utils/description
36 Updated mount.nfs command - allows mounting nfs4 volumes
39 CONFIGURE_ARGS += --disable-gss
40 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
42 $(call Build/Compile/Default, \
43 OPT="$(TARGET_CFLAGS)" \
44 INSTALLSUID="install -m 4755" \
45 DESTDIR="$(PKG_INSTALL_DIR)" \
50 define Package/nfs-utils/install
51 $(INSTALL_DIR) $(1)/sbin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/mount* $(1)/sbin/
55 $(eval $(call BuildPackage,nfs-utils))