blob: 595852a9f662e3f5c3e6117eaa65d3fd15a2c672 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Support for assertion checking and logging in GNU C/C++"
2DESCRIPTION = "GNU Nana is a free library providing improved support for assertion\
3checking (as in assert.h) and logging (printf style debugging) in \
4GNU C and C++."
5SECTION = "Development/Languages/C and C++"
6
Brad Bishop26bdd442019-08-16 17:08:17 -04007SRC_URI = "http://download.savannah.gnu.org/releases/${BPN}/${BP}.tar.gz \
Patrick Williamsb48b7b42016-08-17 15:04:38 -05008 file://change-mandir-to-DESTDIR.patch \
9 file://modify-acinclude.m4-and-configure.in.patch \
10"
11SRC_URI[md5sum] = "66c88aa0ad095b2e67673773135475f1"
12SRC_URI[sha256sum] = "fd1819ffea94b209513959447e4802afe2719600e7d161cd78b265a42812affa"
13
14LICENSE = "BSD-2-Clause"
15
16LIC_FILES_CHKSUM = "file://COPYING;md5=16aa57f3b7fdda870cee597275bd5d11"
17
18inherit autotools-brokensep pkgconfig
19
20EXTRA_OEMAKE = "DESTDIR=${D}"
21
22do_configure_prepend_class-nativesdk() {
23 sed -i -e 's:@CPP@:\$\{CXX\} \$\{CXXFLAGS\} \-E:g' ${S}/src/nana.in
24 sed -i -e 's:@CC@:\$\{CC\} \$\{CFLAGS\} \-E:g' ${S}/src/nana-clg.in
25 sed -i -e 's:@CXX@::g' ${S}/src/nana-c++lg.in
26 sed -i -e 's:@GDB@:\$\{GDB\}:g' ${S}/src/nana-run.in
27}
28
29do_install_prepend() {
30 install -d ${D}${mandir}/man1
31 install -d ${D}${mandir}/man3
32 install -d ${D}${datadir}/info
33}
34BBCLASSEXTEND = "native nativesdk"