summaryrefslogtreecommitdiff
path: root/packages/liblockfile/liblockfile_1.06.bb
blob: a59259cc62322124618f3c63fab6bd28eda520e7 (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
DESCRIPTION = "File locking library."
SECTION = "libs"
LICENSE = "LGPL"
PR ="r1"

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

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
}