diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2014-12-04 13:49:58 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-12-16 15:55:40 -0500 |
commit | aa031b78383cee2b4acb2cfd4448cfb790c5ba49 (patch) | |
tree | 9973fae9eafd32b14bbf5c7c1be2c74941d651ea /meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb | |
parent | 6bd153a8463e65817beb1ad33d86cbd4c3c5d675 (diff) | |
download | meta-openembedded-aa031b78383cee2b4acb2cfd4448cfb790c5ba49.tar.gz |
radiusclient-ng: add new recipe
RADIUS protocol client library.
It is Portable, easy-to-use and standard compliant library suitable
for developing free and commercial software that need support for a
RADIUS protocol (RFCs 2128 and 2139).
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb')
-rw-r--r-- | meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb b/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb new file mode 100644 index 000000000..1fafe7334 --- /dev/null +++ b/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb | |||
@@ -0,0 +1,36 @@ | |||
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 = "Applications/Internet" | ||
7 | |||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/r/${PN}/${PN}_${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 | |||
15 | LICENSE = "BSD" | ||
16 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3e47566c9271b786693d8a08792dbf41" | ||
17 | |||
18 | inherit autotools-brokensep | ||
19 | |||
20 | EXTRA_OECONF += "--disable-static" | ||
21 | |||
22 | do_configure_prepend () { | ||
23 | export CONFIG_SITE=./config-site.${P} | ||
24 | } | ||
25 | |||
26 | do_compile_prepend() { | ||
27 | for m in `find . -name "Makefile"` ; do | ||
28 | sed -i -e 's:^program_transform_name =.*:program_transform_name =:g' ${m} | ||
29 | done | ||
30 | } | ||
31 | |||
32 | do_install() { | ||
33 | oe_runmake DESTDIR=${D} install | ||
34 | rm -f ${D}${libdir}/*.la | ||
35 | rm -f ${D}${sbindir}/radexample | ||
36 | } | ||