Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 1 | SUMMARY = "LibTomMath is a number theoretic multiple-precision integer library" |
| 2 | HOMEPAGE = "https://www.libtom.net/LibTomMath" |
| 3 | SECTION = "libs" |
| 4 | LICENSE = "Unlicense" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=23e7e0a32e53a2b1d35f5fd9ef053402" |
| 6 | |
| 7 | DEPENDS = "libtool-cross" |
| 8 | |
| 9 | SRC_URI = "git://github.com/libtom/libtommath.git;protocol=https;branch=master" |
| 10 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 11 | SRCREV = "95d80fd8229d05dd6cb4ec88bc8d4f5377ff00ef" |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' 'CFLAGS=${CFLAGS}'" |
| 16 | |
| 17 | do_compile() { |
| 18 | oe_runmake -f makefile.shared |
| 19 | } |
| 20 | |
| 21 | do_install() { |
| 22 | oe_runmake -f makefile.shared install |
| 23 | } |