mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
af574eed88
* Licence-Update:
- Copyright years are updated from 2011 to 2016
- The text as below
"On Debian GNU/Linux systems, the complete text of the GNU Lesser General \
Public License can be found in `/usr/share/common-licenses/LGPL-2'. You can \
also find a copy on the GNU website at http://www.gnu.org"
updated to
"The complete LGPL-2 license is included in the licenses/ directory."
* Compared to liblockfile_1.09.orig.tar.gz unpack to
${WORKDIR}/${BPN}-${PV}, liblockfile_1.14.orig.tar.gz
unpack to ${WORKDIR}/${BPN} now.
Add S = "${WORKDIR}/${BPN}" to fix the gap
* Remove two backported patch
- install.patch
- ldflags.patch
* Use DESTDIR instead of the previous ROOT and add
patch 0001-Makefile.in-add-DESTDIR.patch to fix
below issue:
| install -d -m 755 -g root -p /usr/include
| install -d -m 755 -g root -p /usr/lib
| install -d -m 755 -g root -p /usr/bin
| install -m 755 nfslock.so.0.1 /usr/lib
| install -d -m 755 -g root -p /usr/share/man/man1
| install: cannot create regular file '/usr/lib/nfslock.so.0.1': Permission denied
| Makefile:78: recipe for target 'install_nfslib' failed
| make: *** [install_nfslib] Error 1
| make: *** Waiting for unfinished jobs....
| install -d -m 755 -g root -p /usr/share/man/man3
| install -m 644 lockfile.h maillock.h /usr/include
| install: cannot create regular file '/usr/include/lockfile.h': Permission denied
| install: cannot create regular file '/usr/include/maillock.h': Permission denied
| Makefile:64: recipe for target 'install_common' failed
| make: *** [install_common] Error 1
* Rework patch:
- Rework liblockfile-fix-nfslib-and-soname.patch to
0001-Makefile.in-install-nfslock.so-and-nfslock.so.0.patch
as the previous patch partly in upstream
- liblockfile-fix-install-so-to-man-dir.patch
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
38 lines
1.4 KiB
BlitzBasic
38 lines
1.4 KiB
BlitzBasic
SUMMARY = "File locking library"
|
|
HOMEPAGE = "http://packages.qa.debian.org/libl/liblockfile.html"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPLv2+ & GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f4ba6ad04fcb05cc30a4cfa5062c55a3"
|
|
|
|
SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.14.orig.tar.gz \
|
|
${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.14-1.debian.tar.bz2;name=1.14-1 \
|
|
file://configure.patch \
|
|
file://0001-Makefile.in-add-DESTDIR.patch \
|
|
file://0001-Makefile.in-install-nfslock.so-and-nfslock.so.0.patch \
|
|
file://liblockfile-fix-install-so-to-man-dir.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "420c056ba0cc4d1477e402f70ba2f5eb"
|
|
SRC_URI[sha256sum] = "ab40d4a3e8cbc204f7e87fea637a4e4ddf9a1149aaa0a723a4267febd0b1d060"
|
|
|
|
SRC_URI[1.14-1.md5sum] = "f9a44928c3477d218c56252712ebc479"
|
|
SRC_URI[1.14-1.sha256sum] = "73f9be769e602149391588c28f0f4f5cda131e30fb94c0777dbb23d811ac21ff"
|
|
|
|
S = "${WORKDIR}/${BPN}"
|
|
|
|
inherit autotools-brokensep
|
|
|
|
# set default mailgroup to mail
|
|
# --with-libnfslock specify where to install nfslock.so.NVER
|
|
EXTRA_OECONF = "--enable-shared \
|
|
--with-mailgroup=mail \
|
|
--with-libnfslock=${libdir} \
|
|
"
|
|
|
|
# Makefile using DESTDIR as the change in e35f9eabcbba224ecc70b145d5d2a2d81064c195
|
|
# at https://github.com/miquels/liblockfile.git
|
|
EXTRA_OEMAKE += "DESTDIR=${D}"
|
|
|
|
FILES_${PN} += "${libdir}/nfslock.so.*"
|
|
FILES_${PN}-dev += "${libdir}/nfslock.so"
|