X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Fwrt-radauth%2FMakefile;h=5ab8ece62f810174c2d1ffce8942618664d9e2fa;hb=17cff1c4e116e3cf93b3d55e0b0fb9b6df899195;hp=fa45a11bc78cd7ad9652f55befeae257ecea598e;hpb=75ea41a2c060b638aed79b8ce50de8f86505c1b3;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/wrt-radauth/Makefile b/net/wrt-radauth/Makefile index fa45a11bc7..5ab8ece62f 100644 --- a/net/wrt-radauth/Makefile +++ b/net/wrt-radauth/Makefile @@ -9,13 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wrt-radauth -PKG_VERSION:=1.0 +PKG_VERSION:=0.1 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.zerfleddert.de/wrt54g/ -PKG_MD5SUM:=f941e3139175dc6b87f6c89ba8848a07 -PKG_CAT:=zcat +PKG_MD5SUM:=1713b96a157f9e209cf7986f38ef57d9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) @@ -24,26 +23,29 @@ include $(INCLUDE_DIR)/package.mk define Package/wrt-radauth SECTION:=net CATEGORY:=Network - DEPENDS:=kmod-brcm-wl +nvram + DEPENDS:=+kmod-brcm-wl +nvram TITLE:=A Radius MAC authenticator for Broadcom based access points - DESCRIPTION:=\ - This software watches the stations associating to a broadcom based \\\ - AccessPoint (e.g. Linksys WRT54G) and sends an authentication request \\\ - to the radius-server specified in nvram. URL:=http://www.zerfleddert.de/wrt54g/ endef + +define Package/wrt-radauth/description + This software watches the stations associating to a broadcom based + AccessPoint (e.g. Linksys WRT54G) and sends an authentication request + to the radius-server specified in nvram. +endef define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) clean $(call Build/Compile/Default, \ - CFLAGS="\$$$$(EXTRA_CFLAGS)" \ - LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \ + CFLAGS="$(EXTRA_CFLAGS)" \ + LDFLAGS="$(EXTRA_LDFLAGS)" \ ) endef define Package/wrt-radauth/install - install -d -m0755 $(1)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/radius-client $(1)/usr/sbin/ - install -m0755 $(PKG_BUILD_DIR)/wrt-radauth $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/radius-client $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/wrt-radauth $(1)/usr/sbin/ endef $(eval $(call BuildPackage,wrt-radauth))