blob: bac3a2c0bd89ebe8d4c2beb4df4fe6b4e1ec946e [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
7SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.14.orig.tar.gz \
8 ${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.14-1.debian.tar.bz2;name=1.14-1 \
9 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 \
13"
14
15SRC_URI[md5sum] = "420c056ba0cc4d1477e402f70ba2f5eb"
16SRC_URI[sha256sum] = "ab40d4a3e8cbc204f7e87fea637a4e4ddf9a1149aaa0a723a4267febd0b1d060"
17
18SRC_URI[1.14-1.md5sum] = "f9a44928c3477d218c56252712ebc479"
19SRC_URI[1.14-1.sha256sum] = "73f9be769e602149391588c28f0f4f5cda131e30fb94c0777dbb23d811ac21ff"
20
21S = "${WORKDIR}/${BPN}"
22
23inherit autotools-brokensep
24
25# set default mailgroup to mail
26# --with-libnfslock specify where to install nfslock.so.NVER
27EXTRA_OECONF = "--enable-shared \
28 --with-mailgroup=mail \
29 --with-libnfslock=${libdir} \
30"
31
32# Makefile using DESTDIR as the change in e35f9eabcbba224ecc70b145d5d2a2d81064c195
33# at https://github.com/miquels/liblockfile.git
34EXTRA_OEMAKE += "DESTDIR=${D}"
35
Patrick Williams213cb262021-08-07 19:21:33 -050036FILES:${PN} += "${libdir}/nfslock.so.*"
37FILES:${PN}-dev += "${libdir}/nfslock.so"