From: Luka Perkov Date: Mon, 18 Feb 2013 13:47:15 +0000 (+0000) Subject: [packages] zsh: simplify Makefile X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=2cec516a0991645ef3a5aa6eebd523206afa8868;p=openwrt%2Fsvn-archive%2Farchive.git [packages] zsh: simplify Makefile Signed-off-by: Francisco Borges SVN-Revision: 35666 --- diff --git a/utils/zsh/Makefile b/utils/zsh/Makefile index 2282b832d5..a006845164 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 || \