blob: 6baa83e83e9da99f1b210d0d3ae62ffd0729618e [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "RADIUS protocol client library"
2DESCRIPTION = "Portable, easy-to-use and standard compliant library suitable \
3for developing free and commercial software that need support for a RADIUS \
4protocol (RFCs 2128 and 2139)."
5HOMEPAGE = "http://sourceforge.net/projects/radiusclient-ng.berlios/"
6SECTION = "net"
7
Andrew Geissler028142b2023-05-05 11:29:21 -05008SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/r/${BPN}/${BPN}_${PV}.orig.tar.gz \
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009 file://Modify-configure.in-and-etc-Makefile.am.patch \
10 file://config-site.radiusclient-ng-${PV}"
11
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012SRC_URI[sha256sum] = "282a9f1355f190efbb06c0d7c4e062eaa652caf342ed3ad361ac595f72f09f14"
13
Brad Bishop2d39a062019-10-28 08:33:36 -040014LICENSE = "BSD-3-Clause & BSD-2-Clause & HPND"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3e47566c9271b786693d8a08792dbf41"
16
17inherit autotools-brokensep
18
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019DEPENDS += "virtual/crypt"
20
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021EXTRA_OECONF += "--disable-static"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023do_configure:prepend () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024 export CONFIG_SITE=./config-site.${P}
25}
26
Patrick Williams213cb262021-08-07 19:21:33 -050027do_compile:prepend() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050028 for m in `find . -name "Makefile"` ; do
29 sed -i -e 's:^program_transform_name =.*:program_transform_name =:g' ${m}
30 done
31}
32
33do_install() {
34 oe_runmake DESTDIR=${D} install
35 rm -f ${D}${libdir}/*.la
36 rm -f ${D}${sbindir}/radexample
37}