Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "RADIUS protocol client library" |
| 2 | DESCRIPTION = "Portable, easy-to-use and standard compliant library suitable \ |
| 3 | for developing free and commercial software that need support for a RADIUS \ |
| 4 | protocol (RFCs 2128 and 2139)." |
| 5 | HOMEPAGE = "http://sourceforge.net/projects/radiusclient-ng.berlios/" |
| 6 | SECTION = "net" |
| 7 | |
| 8 | SRC_URI = "${DEBIAN_MIRROR}/main/r/${BPN}/${BPN}_${PV}.orig.tar.gz \ |
| 9 | file://Modify-configure.in-and-etc-Makefile.am.patch \ |
| 10 | file://config-site.radiusclient-ng-${PV}" |
| 11 | |
| 12 | SRC_URI[md5sum] = "6fb7d4d0aefafaee7385831ac46a8e9c" |
| 13 | SRC_URI[sha256sum] = "282a9f1355f190efbb06c0d7c4e062eaa652caf342ed3ad361ac595f72f09f14" |
| 14 | |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 15 | LICENSE = "BSD-3-Clause & BSD-2-Clause & HPND" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3e47566c9271b786693d8a08792dbf41" |
| 17 | |
| 18 | inherit autotools-brokensep |
| 19 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | DEPENDS += "virtual/crypt" |
| 21 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 22 | EXTRA_OECONF += "--disable-static" |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | do_configure:prepend () { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | export CONFIG_SITE=./config-site.${P} |
| 26 | } |
| 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 28 | do_compile:prepend() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | for m in `find . -name "Makefile"` ; do |
| 30 | sed -i -e 's:^program_transform_name =.*:program_transform_name =:g' ${m} |
| 31 | done |
| 32 | } |
| 33 | |
| 34 | do_install() { |
| 35 | oe_runmake DESTDIR=${D} install |
| 36 | rm -f ${D}${libdir}/*.la |
| 37 | rm -f ${D}${sbindir}/radexample |
| 38 | } |