1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= freeradius-client
9 PKG_HASH
:= 478bfb7ec00789af150acf6a231bc9b0731d06353c7fe36a8fd6d4d83e42a07f
10 PKG_DESCR
:= radius client
11 PKG_SECTION
:= net
/radius
12 PKG_DEPENDS
:= libfreeradius-client libressl
13 PKG_BUILDDEP
:= libressl
14 PKG_URL
:= http
://www.freeradius.org
/
15 PKG_SITES
:= ftp
://ftp.freeradius.org
/pub
/radius
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 PKG_SUBPKGS
:= FREERADIUS_CLIENT LIBFREERADIUS_CLIENT
20 PKGSC_LIBFREERADIUS_CLIENT
:= libs
/net
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call PKG_template
,FREERADIUS_CLIENT
,freeradius-client
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 $(eval
$(call PKG_template
,LIBFREERADIUS_CLIENT
,libfreeradius-client
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBFREERADIUS_CLIENT}))
27 CONFIGURE_ENV
+= ac_cv_func_uname
=no
29 freeradius-client-install
:
30 ${INSTALL_DIR} ${IDIR_FREERADIUS_CLIENT}/usr
/sbin
31 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/radiusclient \
32 ${IDIR_FREERADIUS_CLIENT}/usr
/sbin
33 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/rad
{login
,status
} \
34 ${IDIR_FREERADIUS_CLIENT}/usr
/sbin
35 ${CP} ${WRKINST}/etc
${IDIR_FREERADIUS_CLIENT}/
37 libfreeradius-client-install
:
38 ${INSTALL_DIR} ${IDIR_LIBFREERADIUS_CLIENT}/usr
/lib
39 ${CP} ${WRKINST}/usr
/lib
/libfreeradius-client.so
* \
40 ${IDIR_LIBFREERADIUS_CLIENT}/usr
/lib
42 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk