summaryrefslogtreecommitdiff
path: root/recipes/liblockfile/liblockfile_1.06.bb
blob: b4e2612c2857739d2df1b2f67a8eeaca2dd08f14 (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;apply=yes \
	   file://configure.patch;apply=yes \
	   file://ldflags.patch;apply=yes \
	   file://glibc-2.4.patch;apply=yes"

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"