From e567a7bbdec62bcb7e313f431f6825764488d406 Mon Sep 17 00:00:00 2001 From: luka Date: Mon, 18 Feb 2013 13:47:15 +0000 Subject: [PATCH] [packages] zsh: simplify Makefile Signed-off-by: Francisco Borges git-svn-id: svn://svn.openwrt.org/openwrt/packages@35666 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/zsh/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/utils/zsh/Makefile b/utils/zsh/Makefile index 2282b832d..a00684516 100644 --- a/utils/zsh/Makefile +++ b/utils/zsh/Makefile @@ -15,6 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/zsh PKG_MD5SUM:=b8f2ad691acf58b3252225746480dcad +PKG_INSTALL:=1 + include $(INCLUDE_DIR)/package.mk define Package/zsh @@ -38,7 +40,7 @@ define Build/Configure $(call Build/Configure/Default, \ --bindir=/bin \ --disable-etcdir \ - --with-term-lib="ncurses ncursesw" \ + --with-term-lib="ncurses" \ ) # Do not install these functions: $(SED) 's, Completion/AIX/\*/\*,,g' $(PKG_BUILD_DIR)/config.modules @@ -55,10 +57,6 @@ define Build/Configure $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" prep endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install -endef - define Package/zsh/postinst #!/bin/sh grep zsh $${IPKG_INSTROOT}/etc/shells || \