aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libtommath/libtommath_1.3.0.bb
blob: 4d6c06240d21aea54a294f96ff98d0f8664fabed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "LibTomMath is a number theoretic multiple-precision integer library"
HOMEPAGE = "https://www.libtom.net/LibTomMath"
SECTION = "libs"
LICENSE = "Unlicense"
LIC_FILES_CHKSUM = "file://LICENSE;md5=23e7e0a32e53a2b1d35f5fd9ef053402"

DEPENDS = "libtool-cross"

SRC_URI = "git://github.com/libtom/libtommath.git;protocol=https;branch=master"

SRCREV = "95d80fd8229d05dd6cb4ec88bc8d4f5377ff00ef"

S = "${WORKDIR}/git"

EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' 'CFLAGS=${CFLAGS}'"

do_compile() {
    oe_runmake -f makefile.shared
}

do_install() {
    oe_runmake -f makefile.shared install
}