From 935badd4ea23611c20212ecae03abf6379063f0a Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 19 Oct 2005 11:37:53 +0000 Subject: add wrt-radauth package (thanks to Florian Fainelli) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2180 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/wrt-radauth/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/wrt-radauth/Makefile (limited to 'package/wrt-radauth/Makefile') diff --git a/package/wrt-radauth/Makefile b/package/wrt-radauth/Makefile new file mode 100644 index 000000000..952a4d03f --- /dev/null +++ b/package/wrt-radauth/Makefile @@ -0,0 +1,36 @@ +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 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(TOPDIR)/package/rules.mk + +BR2_PACKAGE_WRT_RADAUTH:=m + +$(eval $(call PKG_template,WRT_RADAUTH,wrt-radauth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + 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 $(PKG_BUILD_DIR)/radius-client $(IDIR_WRT_RADAUTH)/usr/sbin/ + install -m0755 $(PKG_BUILD_DIR)/wrt-radauth $(IDIR_WRT_RADAUTH)/usr/sbin/ + $(RSTRIP) $(IDIR_WRT_RADAUTH) + $(IPKG_BUILD) $(IDIR_WRT_RADAUTH) $(PACKAGE_DIR) -- cgit v1.2.3