| 1 |
# $FreeWRT$ |
| 2 |
#- |
| 3 |
# This file is part of the FreeWRT project. FreeWRT is copyrighted |
| 4 |
# material, please see the LICENCE file in the top-level directory |
| 5 |
# or at http://www.freewrt.org/licence for details. |
| 6 |
|
| 7 |
include ${TOPDIR}/rules.mk |
| 8 |
|
| 9 |
PKG_NAME:= nfs-server |
| 10 |
PKG_VERSION:= 2.2beta47 |
| 11 |
PKG_RELEASE:= 6 |
| 12 |
PKG_MD5SUM:= 79a29fe9f79b2f3241d4915767b8c511 |
| 13 |
PKG_SOURCE_URL:= http://ftp.debian.org/debian/pool/main/n/nfs-user-server/ |
| 14 |
PKG_SOURCE:= nfs-user-server_${PKG_VERSION}.orig.tar.gz |
| 15 |
|
| 16 |
include ${TOPDIR}/mk/package.mk |
| 17 |
|
| 18 |
$(eval $(call PKG_template,NFS_SERVER,nfs-server,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) |
| 19 |
|
| 20 |
CONFIGURE_STYLE:= gnu |
| 21 |
BUILD_STYLE:= auto |
| 22 |
|
| 23 |
do-install: |
| 24 |
${INSTALL_DIR} ${IDIR_NFS_SERVER}/etc/init.d |
| 25 |
${INSTALL_DIR} ${IDIR_NFS_SERVER}/usr/sbin |
| 26 |
${INSTALL_DATA} ./files/nfsd.exports ${IDIR_NFS_SERVER}/etc/exports |
| 27 |
${INSTALL_BIN} ./files/nfsd.init \ |
| 28 |
${IDIR_NFS_SERVER}/etc/init.d/nfsd |
| 29 |
${INSTALL_BIN} ${WRKBUILD}/rpc.* ${IDIR_NFS_SERVER}/usr/sbin/ |
| 30 |
|
| 31 |
include ${TOPDIR}/mk/pkg-bottom.mk |