08314f6870a637ae2776911e3f19499f98398107
[openwrt/svn-archive/archive.git] / net / unfs3 / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=unfs3
11 PKG_VERSION:=0.9.22
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=ddf679a5d4d80096a59f3affc64f16e5
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/unfs3
21 SECTION:=net
22 CATEGORY:=Network
23 SUBMENU:=Filesystem
24 DEPENDS:=+portmap
25 TITLE:=User-space NFSv3 Server
26 URL:=http://unfs3.sourceforge.net/
27 endef
28
29 define Package/unfs3/description
30 UNFS3 is a user-space implementation of the NFSv3 server
31 specification. It provides a daemon for the MOUNT and NFS
32 protocols, which are used by NFS clients for accessing files
33 on the server.
34 endef
35
36 define Package/unfs3/install
37 $(INSTALL_DIR) $(1)/etc/init.d
38 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
39 $(INSTALL_DIR) $(1)/etc
40 $(INSTALL_DATA) ./files/$(PKG_NAME).exports $(1)/etc/exports
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/unfsd $(1)/usr/sbin
43 endef
44
45 $(eval $(call BuildPackage,unfs3))