X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=libs%2Fradiusclient-ng%2FMakefile;h=06aa5fb7e99e1882b79460c512dabbe988b1d5ad;hp=783a67edf163de5076e0ee0fb11f3c2b89a695a8;hb=4a4f6e68b109a1c8cf8791c1826702442d51e681;hpb=13fb59dd0549e4f09ae3600298eda16396cb95f1 diff --git a/libs/radiusclient-ng/Makefile b/libs/radiusclient-ng/Makefile index 783a67edf1..06aa5fb7e9 100644 --- a/libs/radiusclient-ng/Makefile +++ b/libs/radiusclient-ng/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,15 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=radiusclient-ng -PKG_VERSION:=0.5.2 +PKG_VERSION:=0.5.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://download.berlios.de/radiusclient-ng/ -PKG_MD5SUM:=c54eb70e964bdd22dd44b39a9b4df8ca - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install +PKG_MD5SUM:=6fb7d4d0aefafaee7385831ac46a8e9c include $(INCLUDE_DIR)/package.mk @@ -25,19 +22,22 @@ define Package/radiusclient-ng/Default URL:=http://developer.berlios.de/projects/radiusclient-ng/ endef +define Package/radiusclient-ng/Default/description + Purpose of this project is to build a portable, easy-to-use and + standard compliant library suitable for developing free and commercial + software that need support for RADIUS protocol (RFCs 2128 and 2139). +endef + define Package/libradiusclient-ng - $(call Package/radiusclient-ng/Default) +$(call Package/radiusclient-ng/Default) SECTION:=libs CATEGORY:=Libraries TITLE:=RADIUS client library endef define Package/libradiusclient-ng/description -= - Purpose of this project is to build a portable, easy-to-use and standard - compliant library suitable for developing free and commercial software - that need support for RADIUS protocol (RFCs 2128 and 2139). - This package contains shared libraries, needed by other programs. +$(call Package/radiusclient-ng/Default/description) + This package contains shared libraries, needed by other programs. endef define Package/libradiusclient-ng/conffiles @@ -56,19 +56,13 @@ define Package/radiusclient-ng endef define Package/radiusclient-ng/description -= - Purpose of this project is to build a portable, easy-to-use and standard - compliant library suitable for developing free and commercial software - that need support for RADIUS protocol (RFCs 2128 and 2139). - This package contains a RADIUS client. +$(call Package/radiusclient-ng/Default/description) + This package contains a RADIUS client. endef -define Build/Configure - $(call Build/Configure/Default, \ - --enable-shared \ - --enable-static \ - ) -endef +CONFIGURE_ARGS += \ + --enable-shared \ + --enable-static \ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -83,12 +77,6 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiusclient-ng.{a,so}* $(1)/usr/lib/ endef -define Build/UninstallDev - rm -rf \ - $(STAGING_DIR)/usr/include/radiusclient-ng.h \ - $(STAGING_DIR)/usr/lib/libradiusclient-ng.{a,so}* -endef - define Package/libradiusclient-ng/install $(INSTALL_DIR) $(1)/etc $(CP) $(PKG_INSTALL_DIR)/etc/radiusclient-ng $(1)/etc/