summaryrefslogtreecommitdiff
path: root/liblockfile
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-16 17:58:41 +0000
committerChris Larson <clarson@kergoth.com>2003-10-16 17:58:41 +0000
commitaf86cb6de7ef50d8e9ff5db257bdca30b5de0011 (patch)
treed118ea933202b8a1870faa8647984a23618b6899 /liblockfile
parent0611ae8d09c4a477bae5464a2fbcff52baa71642 (diff)
Add stage to liblockfile, add install to mailx (which builds now, btw), add depends to mailx, and correct the nano configure patch.
BKrev: 3f8edc519m2iW_sbD0e2rGGTxlN_Ew
Diffstat (limited to 'liblockfile')
-rw-r--r--liblockfile/liblockfile_1.05.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/liblockfile/liblockfile_1.05.oe b/liblockfile/liblockfile_1.05.oe
index e69de29bb2..f9bc02a1f3 100644
--- a/liblockfile/liblockfile_1.05.oe
+++ b/liblockfile/liblockfile_1.05.oe
@@ -0,0 +1,23 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_${PV}.tar.gz \
+ file:/${FILESDIR}/install.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 () {
+ install -d ${D}/${includedir}
+ oe_runmake 'ROOT=${D}' INSTGRP='' install
+}