blob: b094337e90202a82f6039c3661b68374e26927c5 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "File locking library"
2HOMEPAGE = "http://packages.qa.debian.org/libl/liblockfile.html"
3SECTION = "libs"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "LGPL-2.0-or-later & GPL-2.0-or-later"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f4ba6ad04fcb05cc30a4cfa5062c55a3"
6
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05007SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.17.orig.tar.gz \
8 ${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.17-1.debian.tar.bz2;name=1.17-1 \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009 file://configure.patch \
10 file://0001-Makefile.in-add-DESTDIR.patch \
Brad Bishop8410d612019-11-25 09:40:59 -050011 file://0001-Makefile.in-install-nfslock-libs.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012 file://liblockfile-fix-install-so-to-man-dir.patch \
Patrick Williams92b42cb2022-09-03 06:53:57 -050013 file://0001-Makefile.in-redefine-LOCKPROG.patch \
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050014 file://0001-Makefile.in-fix-install-failure-on-host-without-ldco.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015"
16
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050017SRC_URI[sha256sum] = "6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e"
18SRC_URI[1.17-1.sha256sum] = "e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050020S = "${WORKDIR}/${BP}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021
22inherit autotools-brokensep
23
24# set default mailgroup to mail
25# --with-libnfslock specify where to install nfslock.so.NVER
26EXTRA_OECONF = "--enable-shared \
27 --with-mailgroup=mail \
28 --with-libnfslock=${libdir} \
29"
30
31# Makefile using DESTDIR as the change in e35f9eabcbba224ecc70b145d5d2a2d81064c195
32# at https://github.com/miquels/liblockfile.git
33EXTRA_OEMAKE += "DESTDIR=${D}"
34
Patrick Williams213cb262021-08-07 19:21:33 -050035FILES:${PN} += "${libdir}/nfslock.so.*"
36FILES:${PN}-dev += "${libdir}/nfslock.so"