mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
b0a2b9011b
* Set the default mailgroup to 'mail' or it will use 'root'. * Set --with-libnfslock so it builds and install libnfslock. * The patch is to fix nfslib build failure and add missing soname lib. * No need to override the do_install, set EXTRA_OEMAKE instead. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
30 lines
913 B
BlitzBasic
30 lines
913 B
BlitzBasic
SUMMARY = "File locking library"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPLv2+ & GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=ac284a60d48eaa4bc811cddc377fa341"
|
|
|
|
SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.09.orig.tar.gz \
|
|
file://install.patch \
|
|
file://configure.patch \
|
|
file://ldflags.patch \
|
|
file://liblockfile-fix-nfslib-and-soname.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "2aa269e4405ee8235ff17d1b357c6ae8"
|
|
SRC_URI[sha256sum] = "16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a0695f1b7f"
|
|
|
|
inherit autotools
|
|
|
|
# set default mailgroup to mail
|
|
# --with-libnfslock specify where to install nfslock.so.NVER
|
|
EXTRA_OECONF = "--enable-shared --enable-static \
|
|
--with-mailgroup=mail \
|
|
--with-libnfslock=${libdir} \
|
|
"
|
|
|
|
# Makefile using ROOT not DESTDIR
|
|
EXTRA_OEMAKE += "ROOT=${D}"
|
|
|
|
FILES_${PN} += "${libdir}/nfslock.so.*"
|
|
FILES_${PN}-dev += "${libdir}/nfslock.so"
|