include $(TOPDIR)/rules.mk
PKG_NAME:=xsupplicant
-PKG_VERSION:=1.2.2
+PKG_VERSION:=1.2.3
PKG_RELEASE:=1
-PKG_MD5SUM:=0e9aaf83a11f8eaff7c6564a53c25d8e
+PKG_MD5SUM:=c9b17b2e1879bac85c583980338fed85
PKG_SOURCE_URL:=@SF/open1x
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
touch configure; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include \
+ -I$(PKG_BUILD_DIR)/lib/libxsupconfig/ \
+ -I$(STAGING_DIR)/usr/include/madwifi" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
./configure \
--target=$(GNU_TARGET_NAME) \
install -d -m0755 $(IDIR_XSUPPLICANT)/etc
install -m0644 $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(IDIR_XSUPPLICANT)/etc/
install -d -m0755 $(IDIR_XSUPPLICANT)/usr/bin
- cp -fpR $(PKG_INSTALL_DIR)/usr/bin/xsup_* $(IDIR_XSUPPLICANT)/usr/bin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/xsup_* $(IDIR_XSUPPLICANT)/usr/bin/
install -d -m0755 $(IDIR_XSUPPLICANT)/usr/sbin
- cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/xsupplicant $(IDIR_XSUPPLICANT)/usr/sbin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/xsupplicant $(IDIR_XSUPPLICANT)/usr/sbin/
$(RSTRIP) $(IDIR_XSUPPLICANT)
$(IPKG_BUILD) $(IDIR_XSUPPLICANT) $(PACKAGE_DIR)