Fix serverel gcc 4.3 related build failures.
[openwrt/svn-archive/archive.git] / net / bing / Makefile
index e5d45c4ae7af993bdccd2ee80edf8ee16976f431..545ebab8c64a607adb6913f9ead68a28a237329d 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -15,7 +15,6 @@ PKG_RELEASE:=0
 PKG_SOURCE:=$(PKG_NAME)_src-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://fgouget.free.fr/bing/
 PKG_MD5SUM:=60aaee55277672d0cc163bf3f0b3d53f
-PKG_CAT:=zcat
 TAR_OPTIONS += || true
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -34,12 +33,12 @@ define Package/bing/description
 endef
 
 define Build/Compile
-       $(call Build/Compile/Default)
+       $(call Build/Compile/Default,bing)
 endef
 
 define Package/bing/install
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(CP) $(PKG_BUILD_DIR)/bing $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bing $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,bing))