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
12 PKG_VERSION
:=2.2beta47
14 PKG_MD5SUM
:=79a29fe9f79b2f3241d4915767b8c511
16 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/n
/nfs-user-server
17 PKG_SOURCE
:=nfs-user-server_
$(PKG_VERSION
).orig.
tar.gz
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/nfs-server
28 TITLE
:=User Space NFS server
31 define Package
/nfs-server
/description
36 $(MAKE
) -C
$(PKG_BUILD_DIR
)
39 define Package
/nfs-server
/install
40 $(INSTALL_DIR
) $(1)/etc
41 $(INSTALL_DATA
) .
/files
/nfsd.exports
$(1)/etc
/exports
42 $(INSTALL_DIR
) $(1)/etc
/init.d
43 $(INSTALL_BIN
) .
/files
/nfsd.init
$(1)/etc
/init.d
/nfsd
44 $(INSTALL_DIR
) $(1)/usr
/sbin
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/rpc.
* $(1)/usr
/sbin
/
48 $(eval
$(call BuildPackage
,nfs-server
))