]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
nfs-utils: Fix layout of makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Feb 2010 21:10:26 +0000 (22:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Feb 2010 21:10:26 +0000 (22:10 +0100)
pkgs/core/nfs-utils/nfs-utils.nm

index 4d453c64d6754da376a183fcb2f98b09dccb77dc..ddf9a57687c85da0c8bb0051ff7a68c906533e76 100644 (file)
@@ -34,8 +34,7 @@ PKG_URL        = http://nfs.sourceforge.net/
 PKG_LICENSE    = MIT and GPLv2 and GPLv2+
 PKG_SUMMARY    = NFS utilities and supporting clients and daemons for the NFS server.
 
-PKG_BUILD_DEPS+= libevent libnfsidmap libgssglue libcap util-linux-ng
-PKG_DEPS      += 
+PKG_DEPS      += libevent libnfsidmap libgssglue libcap util-linux-ng
 
 define PKG_DESCRIPTION
        The nfs-utils package provides a daemon for the kernel NFS server \
@@ -49,30 +48,15 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --disable-static \
-                       --mandir=/usr/share/man \
-                       --sysconfdir=/etc \
-                       --without-tcp-wrappers \
-                       --disable-static \
-                       --enable-tirpc=no \
-                       --enable-nfsv3 \
-                       --enable-nfsv4 \
-                       --with-krb5=no \
-                       --disable-gss \
-                       --with-rpcgen=internal \
-                       --enable-mount
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
-
-define STAGE_INSTALL
-       cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
-endef
+CONFIGURE_OPTIONS += \
+       --mandir=/usr/share/man \
+       --sysconfdir=/etc \
+       --without-tcp-wrappers \
+       --disable-static \
+       --enable-tirpc=no \
+       --enable-nfsv3 \
+       --enable-nfsv4 \
+       --with-krb5=no \
+       --disable-gss \
+       --with-rpcgen=internal \
+       --enable-mount