summaryrefslogtreecommitdiff
path: root/packages/liblockfile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/liblockfile')
-rw-r--r--packages/liblockfile/liblockfile_1.05.bb21
-rw-r--r--packages/liblockfile/liblockfile_1.06.bb21
2 files changed, 42 insertions, 0 deletions
diff --git a/packages/liblockfile/liblockfile_1.05.bb b/packages/liblockfile/liblockfile_1.05.bb
index e69de29bb2..c4d72fcc23 100644
--- a/packages/liblockfile/liblockfile_1.05.bb
+++ b/packages/liblockfile/liblockfile_1.05.bb
@@ -0,0 +1,21 @@
+SECTION = "libs"
+DESCRIPTION = "File locking library."
+LICENSE = "LGPL"
+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"
+
+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
+}
diff --git a/packages/liblockfile/liblockfile_1.06.bb b/packages/liblockfile/liblockfile_1.06.bb
index e69de29bb2..c4d72fcc23 100644
--- a/packages/liblockfile/liblockfile_1.06.bb
+++ b/packages/liblockfile/liblockfile_1.06.bb
@@ -0,0 +1,21 @@
+SECTION = "libs"
+DESCRIPTION = "File locking library."
+LICENSE = "LGPL"
+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"
+
+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
+}