1SUMMARY = "File locking library" 2HOMEPAGE = "http://packages.qa.debian.org/libl/liblockfile.html" 3SECTION = "libs" 4LICENSE = "LGPL-2.0-or-later & GPL-2.0-or-later" 5LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f4ba6ad04fcb05cc30a4cfa5062c55a3" 6 7SRC_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 \ 9 file://configure.patch \ 10 file://0001-Makefile.in-add-DESTDIR.patch \ 11 file://0001-Makefile.in-install-nfslock-libs.patch \ 12 file://liblockfile-fix-install-so-to-man-dir.patch \ 13 file://0001-Makefile.in-redefine-LOCKPROG.patch \ 14 file://0001-Makefile.in-fix-install-failure-on-host-without-ldco.patch \ 15" 16 17SRC_URI[sha256sum] = "6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e" 18SRC_URI[1.17-1.sha256sum] = "e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673" 19 20S = "${WORKDIR}/${BP}" 21 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 35FILES:${PN} += "${libdir}/nfslock.so.*" 36FILES:${PN}-dev += "${libdir}/nfslock.so" 37