Files
meta-kf5/recipes-support/lmdb_0.9.21.bb
Andreas Cord-Landwehr e248665881 Make project REUSE compatible
The change was performed as follows:
- it was checked that the COPYING.MIT license was present with the
  initial commit and such each contributor was awere of the license
- mail was around to all previous contributors to check this assumption
  (mail was not replied by Hannah and Sebastian); every reply was a
  confirmation of the assumed MIT licensing
- all copyright information were recovered from the respective Git
  commits
- reuse lint was to used to check the REUSE conformance
2020-09-26 18:29:02 +02:00

30 lines
910 B
BlitzBasic

# SPDX-FileCopyrightText: 2017-2019 Volker Krause <vkrause@kde.org>
# SPDX-FileCopyrightText: 2019 Hannah Kiekens <hannahkiekens@gmail.com>
#
# SPDX-License-Identifier: MIT
SUMMARY = "Lightning Memory-Mapped Database (LMDB)"
HOMEPAGE = "https://symas.com/lightning-memory-mapped-database/"
LICENSE = "OLDAP-2.8"
LIC_FILES_CHKSUM = "file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972"
SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1"
SRCREV = "LMDB_${PV}"
inherit base
S = "${WORKDIR}/git/libraries/liblmdb"
do_compile() {
oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="-Wl,-soname,lib${PN}.so.${PV}"
}
do_install() {
oe_runmake CC="${CC}" DESTDIR="${D}" prefix="${prefix}" libprefix="${libdir}" manprefix="${mandir}" SOEXT=".so.${PV}" LDFLAGS="-Wl,-soname,lib${PN}.so.${PV}" install
cd ${D}/${libdir}
ln -s liblmdb.so.${PV} liblmdb.so
rm liblmdb.a
}
INSANE_SKIP += "ldflags"