Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "reimplement libdjb" |
| 2 | DESCRIPTION = "libowfat is a library of general purpose APIs extracted from Dan \ |
| 3 | Bernstein's software (libdjb), reimplemented and covered by the GNU \ |
| 4 | General Public License Version 2 (no later versions)." |
| 5 | HOMEPAGE = "http://www.fefe.de/libowfat" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 6 | LICENSE = "GPL-2.0-only" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
| 8 | |
Brad Bishop | 2f97392 | 2019-11-11 07:58:48 -0500 | [diff] [blame] | 9 | SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz \ |
| 10 | file://0001-Depend-on-haveuint128.h-for-umult64.c.patch \ |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 11 | file://0001-replace-__pure__-with-compiler-attribute-pure.patch \ |
Brad Bishop | 2f97392 | 2019-11-11 07:58:48 -0500 | [diff] [blame] | 12 | " |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 13 | SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc" |
| 14 | SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | |
| 16 | EXTRA_OEMAKE = "\ |
| 17 | DIET= \ |
| 18 | CC='${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}' \ |
| 19 | CCC='${CC}' CFLAGS='${CFLAGS} -I.' CFLAGS_OPT='${CFLAGS} -I.' \ |
| 20 | " |
| 21 | |
| 22 | do_install() { |
| 23 | make install \ |
| 24 | DESTDIR=${D} \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 25 | INCLUDEDIR=${includedir} \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 26 | LIBDIR=${libdir} \ |
| 27 | MAN3DIR=${mandir}/man3 |
| 28 | } |
| 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | ALLOW_EMPTY:${PN} = "1" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 31 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 32 | BBCLASSEXTEND = "native nativesdk" |