remove some weird stuff from the nfs-utils package
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Oct 2007 15:46:50 +0000 (15:46 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Oct 2007 15:46:50 +0000 (15:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9395 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/nfs-utils/Makefile

index a39583d..753c402 100644 (file)
@@ -47,17 +47,9 @@ define Build/Compile
        )
 endef
 
-define Package/Template
-       @if [ \! -f "$(PKG_INSTALL_DIR)/$(1)" ]; then \
-               -rm -f $(PKG_BUILD_DIR)/.built; \
-               $(MAKE) $(PKG_BUILD_DIR)/.built; \
-       fi
-       $(INSTALL_DIR) $(2)
-       $(CP) $(PKG_INSTALL_DIR)/$(1) $(2)/
-endef
-
 define Package/nfs-utils/install
-        $(call Package/Template,sbin/mount*,$(1)/sbin)
+       $(INSTALL_DIR) $(1)/sbin
+       $(CP) $(PKG_INSTALL_DIR)/sbin/mount* $(1)/sbin/
 endef
 
 $(eval $(call BuildPackage,nfs-utils))