753c402e5e9f018e137a36b00ea360fea58eb894
[openwrt/svn-archive/archive.git] / net / nfs-utils / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=nfs-utils
12 PKG_VERSION:=1.1.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://downloads.sourceforge.net/nfs/
17 PKG_MD5SUM:=df88c6fe88a26f9797e74cb2d3291a2a
18
19 PKG_BUILD_DEPENDS:=libgssapi librpcsecgss libnfsidmap libwrap
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/nfs-utils/Default
24 SECTION:=net
25 CATEGORY:=Network
26 URL:=http://sourceforge.net/projects/nfs/
27 endef
28
29 define Package/nfs-utils
30 $(call Package/nfs-utils/Default)
31 DEPENDS:=+libwrap +libevent +libblkid
32 TITLE:=updated mount utility (includes nfs4)
33 endef
34
35 define Package/nfs-utils/description
36 Updated mount.nfs command - allows mounting nfs4 volumes
37 endef
38
39 CONFIGURE_ARGS += --disable-gss
40 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
41 define Build/Compile
42 $(call Build/Compile/Default, \
43 OPT="$(TARGET_CFLAGS)" \
44 INSTALLSUID="install -m 4755" \
45 DESTDIR="$(PKG_INSTALL_DIR)" \
46 all install \
47 )
48 endef
49
50 define Package/nfs-utils/install
51 $(INSTALL_DIR) $(1)/sbin
52 $(CP) $(PKG_INSTALL_DIR)/sbin/mount* $(1)/sbin/
53 endef
54
55 $(eval $(call BuildPackage,nfs-utils))