define Package/wireless-tools
SECTION:=net
CATEGORY:=Base system
- DEFAULT:=y
TITLE:=Tools for manipulating Linux Wireless Extensions
DESCRIPTION:=\
This package contains a collection of tools for configuring wireless \\\
endef
define Package/wireless-tools/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wireless-tools))