English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/nfs-server/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2558 - (show annotations) (download)
Sun May 20 12:00:35 2007 UTC (6 years, 9 months ago) by wbx
File size: 1858 byte(s)
create needed directory, from aep via irc
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:= 3
12 PKG_MD5SUM:= 79a29fe9f79b2f3241d4915767b8c511
13 PKG_INIT:= 65
14
15 PKG_SOURCE_URL:= http://ftp.debian.org/debian/pool/main/n/nfs-user-server
16 PKG_SOURCE:= nfs-user-server_$(PKG_VERSION).orig.tar.gz
17
18 include $(TOPDIR)/mk/package.mk
19
20 $(eval $(call PKG_template,NFS_SERVER,nfs-server,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(WRKBUILD)/.configured:
23 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
24 $(TARGET_CONFIGURE_OPTS) \
25 CFLAGS="$(TARGET_CFLAGS)" \
26 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
27 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
28 ./configure \
29 --target=$(GNU_TARGET_NAME) \
30 --host=$(GNU_TARGET_NAME) \
31 --build=$(GNU_HOST_NAME) \
32 --program-prefix="" \
33 --program-suffix="" \
34 --prefix=/usr \
35 --exec-prefix=/usr \
36 --bindir=/usr/bin \
37 --datadir=/usr/share \
38 --includedir=/usr/include \
39 --infodir=/usr/share/info \
40 --libdir=/usr/lib \
41 --libexecdir=/usr/lib \
42 --localstatedir=/var \
43 --mandir=/usr/share/man \
44 --sbindir=/usr/sbin \
45 --sysconfdir=/etc \
46 --disable-nls \
47 );
48 touch $@
49
50 $(WRKBUILD)/.built:
51 $(MAKE) -C $(WRKBUILD)
52 touch $@
53
54 $(IPKG_NFS_SERVER):
55 install -d -m0755 $(IDIR_NFS_SERVER)/etc
56 install -m0644 ./files/nfsd.exports $(IDIR_NFS_SERVER)/etc/exports
57 install -d -m0755 $(IDIR_NFS_SERVER)/etc/init.d
58 install -m0755 ./files/nfsd.init \
59 $(IDIR_NFS_SERVER)/etc/init.d/S$(PKG_INIT)nfsd
60 install -d -m0755 $(IDIR_NFS_SERVER)/usr/sbin
61 install -m0755 $(WRKBUILD)/rpc.* $(IDIR_NFS_SERVER)/usr/sbin/
62 $(RSTRIP) $(IDIR_NFS_SERVER)
63 $(IPKG_BUILD) $(IDIR_NFS_SERVER) $(PACKAGE_DIR)

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20