summaryrefslogtreecommitdiff
path: root/package/freeradius-client/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-01 19:32:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-01 19:32:18 +0200
commitd1a85ceca38c54caff040cd6e5a4b329a47893d7 (patch)
tree746df118b620ecf8edd018874307c5b183ae4ad6 /package/freeradius-client/Makefile
parentec275cae0293507fd03a7eeb972780fdbd5d40aa (diff)
cleanup radius packages
- radiusclient-ng is now integrated to freeradius.org as freeradius-client - update freeradius-server, disable eap for now
Diffstat (limited to 'package/freeradius-client/Makefile')
-rw-r--r--package/freeradius-client/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/freeradius-client/Makefile b/package/freeradius-client/Makefile
new file mode 100644
index 000000000..5cf7d10b0
--- /dev/null
+++ b/package/freeradius-client/Makefile
@@ -0,0 +1,41 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= freeradius-client
+PKG_VERSION:= 1.1.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= edd4d904e802ff66d35532be1475cfa7
+PKG_DESCR:= RADIUS client
+PKG_SECTION:= net
+PKG_DEPENDS:= libopenssl
+PKG_URL:= http://www.freeradius.org
+PKG_SITES:= ftp://ftp.freeradius.org/pub/radius/ \
+ http://freeradius.portal-to-web.de/ \
+ ftp://ftp.uk.freeradius.org/pub/radius/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,FREERADIUS_CLIENT,freeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBFREERADIUS_CLIENT,libfreeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_func_uname=no
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_FREERADIUS_CLIENT}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/radiusclient \
+ ${IDIR_FREERADIUS_CLIENT}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/rad{login,status} \
+ ${IDIR_FREERADIUS_CLIENT}/usr/sbin
+ ${CP} ${WRKINST}/etc ${IDIR_FREERADIUS_CLIENT}/
+ ${INSTALL_DIR} ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libfreeradius-client.so* \
+ ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk