[package] make robocfg work on brcm63xx as well (#4599)
[openwrt-10.03/.git] / package / robocfg / Makefile
index c0e7e2c21effd681a0faec513934676179292a94..bfa1ef00207e0d649b0b745af11ed602587506a0 100644 (file)
@@ -20,9 +20,11 @@ define Package/robocfg
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=BCM5325E/536x switch configuration utility
-  DESCRIPTION:=\
-       This package contains an utility for configuring the Broadcom BCM5325E/536x \\\
-       based switches.
+endef
+
+define Package/robocfg/description
+ This package contains an utility for configuring the Broadcom BCM5325E/536x 
+ based switches.
 endef
 
 define Build/Prepare
@@ -31,8 +33,8 @@ define Build/Prepare
 endef
 
 define Package/robocfg/install
-       install -d -m0755 $(1)/sbin
-       install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
+       $(INSTALL_DIR) $(1)/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
 endef
 
 $(eval $(call BuildPackage,robocfg))