Upgrade unfs3 to 0.9.20 (#3662)
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=unfs3
12 PKG_VERSION:=0.9.20
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=2920d9cc7c3cb76da0792669bf035650
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/unfs3
22 SECTION:=net
23 CATEGORY:=Network
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))