1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= wireless-tools
9 PKG_HASH
:= 6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
10 PKG_DESCR
:= wireless tools
(for older wireless drivers
)
11 PKG_SECTION
:= net
/wifi
12 PKG_SITES
:= http
://www.hpl.hp.com
/personal
/Jean_Tourrilhes
/Linux
/
14 DISTFILES
:= wireless_tools.
${PKG_VERSION}.
tar.gz
15 WRKDIST
= ${WRKDIR}/wireless_tools
.29
17 include ${ADK_TOPDIR}/mk
/package.mk
19 $(eval
$(call PKG_template
,WIRELESS_TOOLS
,wireless-tools
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 MAKE_FLAGS
+= CC
="${TARGET_CC}" CFLAGS
="${TARGET_CFLAGS} -I."
23 ALL_TARGET
:= libiw.so
.29 iwmulticall
24 FAKE_FLAGS
:= INSTALL_DIR
="${WRKINST}/usr/sbin" \
25 INSTALL_LIB
="${WRKINST}/usr/lib" \
26 INSTALL_INC
="${WRKINST}/usr/include"
27 INSTALL_TARGET
:= install-iwmulticall install-hdr install-dynamic
29 wireless-tools-install
:
30 ${INSTALL_DIR} ${IDIR_WIRELESS_TOOLS}/usr
/sbin
31 ${INSTALL_DIR} ${IDIR_WIRELESS_TOOLS}/usr
/lib
32 ${INSTALL_DATA} ${WRKINST}/usr
/lib
/libiw.so.
* \
33 ${IDIR_WIRELESS_TOOLS}/usr
/lib
/
34 ${CP} ${WRKINST}/usr
/sbin
/iw
* ${IDIR_WIRELESS_TOOLS}/usr
/sbin
/
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk