# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include $(TOPDIR)/rules.mk PKG_NAME:= wrt-radauth PKG_VERSION:= 1.0 PKG_RELEASE:= 1 PKG_MD5SUM:= f941e3139175dc6b87f6c89ba8848a07 PKG_SOURCE_URL:= http://www.zerfleddert.de/wrt54g/ PKG_SOURCE:= $(PKG_NAME).tar.gz WRKSRC= ${WRKDIR}/$(PKG_NAME) include $(TOPDIR)/mk/package.mk FWRT_PACKAGE_WRT_RADAUTH:=m $(eval $(call PKG_template,WRT_RADAUTH,wrt-radauth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(WRKBUILD)/.configured: touch $@ $(WRKBUILD)/.built: $(MAKE) -C $(WRKBUILD) \ CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ clean all touch $@ $(IPKG_WRT_RADAUTH): install -d -m0755 $(IDIR_WRT_RADAUTH)/usr/sbin install -m0755 $(WRKBUILD)/radius-client $(IDIR_WRT_RADAUTH)/usr/sbin/ install -m0755 $(WRKBUILD)/wrt-radauth $(IDIR_WRT_RADAUTH)/usr/sbin/ $(RSTRIP) $(IDIR_WRT_RADAUTH) $(IPKG_BUILD) $(IDIR_WRT_RADAUTH) $(PACKAGE_DIR)