Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Support for assertion checking and logging in GNU C/C++" |
| 2 | DESCRIPTION = "GNU Nana is a free library providing improved support for assertion\ |
| 3 | checking (as in assert.h) and logging (printf style debugging) in \ |
| 4 | GNU C and C++." |
| 5 | SECTION = "Development/Languages/C and C++" |
| 6 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 7 | SRC_URI = "http://download.savannah.gnu.org/releases/${BPN}/${BP}.tar.gz \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | file://change-mandir-to-DESTDIR.patch \ |
| 9 | file://modify-acinclude.m4-and-configure.in.patch \ |
| 10 | " |
| 11 | SRC_URI[md5sum] = "66c88aa0ad095b2e67673773135475f1" |
| 12 | SRC_URI[sha256sum] = "fd1819ffea94b209513959447e4802afe2719600e7d161cd78b265a42812affa" |
| 13 | |
| 14 | LICENSE = "BSD-2-Clause" |
| 15 | |
| 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=16aa57f3b7fdda870cee597275bd5d11" |
| 17 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | inherit autotools-brokensep pkgconfig texinfo |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 19 | |
| 20 | EXTRA_OEMAKE = "DESTDIR=${D}" |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | do_configure:prepend:class-nativesdk() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | do_install:prepend() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 30 | install -d ${D}${mandir}/man1 |
| 31 | install -d ${D}${mandir}/man3 |
| 32 | install -d ${D}${datadir}/info |
| 33 | } |
| 34 | BBCLASSEXTEND = "native nativesdk" |