-#
-# Copyright (C) 2006-2008 OpenWrt.org
+#
+# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_SOURCE_URL:=http://download.berlios.de/radiusclient-ng/
PKG_MD5SUM:=6fb7d4d0aefafaee7385831ac46a8e9c
+PKG_FIXUP:=libtool
+
include $(INCLUDE_DIR)/package.mk
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
This package contains a RADIUS client.
endef
+TARGET_CFLAGS += $(FPIC)
+
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
endef
define Build/InstallDev
- mkdir -p $(1)/usr/include
+ $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/radiusclient-ng.h $(1)/usr/include/
- mkdir -p $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiusclient-ng.{a,so}* $(1)/usr/lib/
endef