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" |
| 6 | LICENSE = "GPLv2" |
| 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 \ |
| 11 | " |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 12 | SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc" |
| 13 | SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 14 | |
| 15 | EXTRA_OEMAKE = "\ |
| 16 | DIET= \ |
| 17 | CC='${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}' \ |
| 18 | CCC='${CC}' CFLAGS='${CFLAGS} -I.' CFLAGS_OPT='${CFLAGS} -I.' \ |
| 19 | " |
| 20 | |
| 21 | do_install() { |
| 22 | make install \ |
| 23 | DESTDIR=${D} \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 24 | INCLUDEDIR=${includedir} \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 25 | LIBDIR=${libdir} \ |
| 26 | MAN3DIR=${mandir}/man3 |
| 27 | } |
| 28 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 29 | ALLOW_EMPTY_${PN} = "1" |
| 30 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 31 | BBCLASSEXTEND = "native nativesdk" |