summaryrefslogtreecommitdiff
path: root/liblockfile/liblockfile_1.05.oe
blob: 7e054f1ccd930dd76d4b4a2a5a74b5869bf2b355 (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
DEPENDS = virtual/libc
RDEPENDS = libc6

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

inherit autotools

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

do_stage () {
		install -m 644 lockfile.h maillock.h ${STAGING_DIR}/target/include/
		install -m 755 liblockfile.so \
			${STAGING_LIBDIR}/liblockfile.so.1.0
		ln -sf liblockfile.so.1.0 ${STAGING_LIBDIR}/liblockfile.so
		install -m 644 liblockfile.a ${STAGING_LIBDIR}/
#		install -m 755 nfslock.so.1.0 ${STAGING_LIBDIR}/
}

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