[packages] gawk: prevent duplicate packaging of gawk executable (#11260)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31234 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-04-10 11:37:29 +00:00
parent b6e09c5007
commit 2b176f75db

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gawk PKG_NAME:=gawk
PKG_VERSION:=3.1.8 PKG_VERSION:=3.1.8
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=gawk-$(PKG_VERSION).tar.gz PKG_SOURCE:=gawk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/gawk/ PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/gawk/
@ -38,7 +38,6 @@ endef
define Package/gawk/install define Package/gawk/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/gawk $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/gawk $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/gawk $(1)/usr/bin/gawk-3.1.8
$(INSTALL_BIN) $(PKG_BUILD_DIR)/awklib/igawk $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/awklib/igawk $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pgawk $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/pgawk $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/libexec/ $(INSTALL_DIR) $(1)/usr/libexec/