Add unfs3
[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.17
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=cde90d604ef42d8ab0c82ed501179417
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 DESCRIPTION:=\
27 UNFS3 is a user-space implementation of the NFSv3 server \\\
28 specification. It provides a daemon for the MOUNT and NFS \\\
29 protocols, which are used by NFS clients for accessing files \\\
30 on the server.
31 URL:=http://unfs3.sourceforge.net/
32 endef
33
34 define Package/unfs3/install
35 $(INSTALL_DIR) $(1)/etc/init.d
36 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
37 $(INSTALL_DIR) $(1)/etc
38 $(INSTALL_DATA) ./files/$(PKG_NAME).exports $(1)/etc/exports
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/unfsd $(1)/usr/sbin
41 endef
42
43 $(eval $(call BuildPackage,unfs3))