From b0a2b9011ba72eec5897841b94d68ba93cd15450 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 11 Apr 2014 15:37:57 +0800 Subject: liblockfile: set default mailgroup and install libnfslock * 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb') diff --git a/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb b/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb index 3ef52cf..fa68fd0 100644 --- a/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb +++ b/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb @@ -7,6 +7,7 @@ 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" @@ -14,9 +15,15 @@ SRC_URI[sha256sum] = "16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a069 inherit autotools -EXTRA_OECONF = "--enable-shared --enable-static" +# 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} \ +" -do_install () { - oe_runmake 'ROOT=${D}' INSTGRP='' install -} +# Makefile using ROOT not DESTDIR +EXTRA_OEMAKE += "ROOT=${D}" +FILES_${PN} += "${libdir}/nfslock.so.*" +FILES_${PN}-dev += "${libdir}/nfslock.so" -- cgit v1.1