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" |
| 4 | LICENSE = "LGPLv2+ & GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f4ba6ad04fcb05cc30a4cfa5062c55a3" |
| 6 | |
| 7 | SRC_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 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 \ |
| 13 | " |
| 14 | |
| 15 | SRC_URI[md5sum] = "420c056ba0cc4d1477e402f70ba2f5eb" |
| 16 | SRC_URI[sha256sum] = "ab40d4a3e8cbc204f7e87fea637a4e4ddf9a1149aaa0a723a4267febd0b1d060" |
| 17 | |
| 18 | SRC_URI[1.14-1.md5sum] = "f9a44928c3477d218c56252712ebc479" |
| 19 | SRC_URI[1.14-1.sha256sum] = "73f9be769e602149391588c28f0f4f5cda131e30fb94c0777dbb23d811ac21ff" |
| 20 | |
| 21 | S = "${WORKDIR}/${BPN}" |
| 22 | |
| 23 | inherit autotools-brokensep |
| 24 | |
| 25 | # set default mailgroup to mail |
| 26 | # --with-libnfslock specify where to install nfslock.so.NVER |
| 27 | EXTRA_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 |
| 34 | EXTRA_OEMAKE += "DESTDIR=${D}" |
| 35 | |
| 36 | FILES_${PN} += "${libdir}/nfslock.so.*" |
| 37 | FILES_${PN}-dev += "${libdir}/nfslock.so" |