Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "File locking library" |
| 2 | HOMEPAGE = "http://packages.qa.debian.org/libl/liblockfile.html" |
| 3 | SECTION = "libs" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE = "LGPL-2.0-or-later & GPL-2.0-or-later" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f4ba6ad04fcb05cc30a4cfa5062c55a3" |
| 6 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 7 | SRC_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 Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 9 | file://configure.patch \ |
| 10 | file://0001-Makefile.in-add-DESTDIR.patch \ |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 11 | file://0001-Makefile.in-install-nfslock-libs.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 12 | file://liblockfile-fix-install-so-to-man-dir.patch \ |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 13 | file://0001-Makefile.in-redefine-LOCKPROG.patch \ |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 14 | file://0001-Makefile.in-fix-install-failure-on-host-without-ldco.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | " |
| 16 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 17 | SRC_URI[sha256sum] = "6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e" |
| 18 | SRC_URI[1.17-1.sha256sum] = "e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 20 | S = "${WORKDIR}/${BP}" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | |
| 22 | inherit autotools-brokensep |
| 23 | |
| 24 | # set default mailgroup to mail |
| 25 | # --with-libnfslock specify where to install nfslock.so.NVER |
| 26 | EXTRA_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 |
| 33 | EXTRA_OEMAKE += "DESTDIR=${D}" |
| 34 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 35 | FILES:${PN} += "${libdir}/nfslock.so.*" |
| 36 | FILES:${PN}-dev += "${libdir}/nfslock.so" |