summaryrefslogtreecommitdiff
path: root/recipes/liblockfile/liblockfile_1.06.bb
blob: 0235dbd5a1ac00fc23f512e09cf3cc545341ddb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "File locking library."
SECTION = "libs"
LICENSE = "LGPL"
PR ="r1"

SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_${PV}.tar.gz \
	   file://install.patch \
	   file://configure.patch \
	   file://ldflags.patch \
	   file://glibc-2.4.patch"

inherit autotools

EXTRA_OECONF = "--enable-shared --enable-static"

do_stage () {
	install -m 644 ${S}/lockfile.h ${S}/maillock.h ${STAGING_INCDIR}/
	oe_libinstall -a -so liblockfile ${STAGING_LIBDIR}
#	oe_libinstall -so nfslock ${STAGING_LIBDIR}
}

do_install () {
	oe_runmake 'ROOT=${D}' INSTGRP='' install
}

SRC_URI[md5sum] = "2de88389da013488bfd31356523070c0"
SRC_URI[sha256sum] = "14f9690328318d11f9ba13a9356a2c008bdd169b7a817f38cb7f9eb32cf7240e"