summaryrefslogtreecommitdiff
path: root/fam
diff options
context:
space:
mode:
Diffstat (limited to 'fam')
-rw-r--r--fam/fam-2.7.0/compile-fix.patch0
-rw-r--r--fam/fam_2.7.0.oe20
2 files changed, 20 insertions, 0 deletions
diff --git a/fam/fam-2.7.0/compile-fix.patch b/fam/fam-2.7.0/compile-fix.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/fam/fam-2.7.0/compile-fix.patch
diff --git a/fam/fam_2.7.0.oe b/fam/fam_2.7.0.oe
new file mode 100644
index 0000000000..d9c2279ed4
--- /dev/null
+++ b/fam/fam_2.7.0.oe
@@ -0,0 +1,20 @@
+DESCRIPTION=File Alteration Monitor
+SECTION=libs
+PRIORITY=optional
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+
+SRC_URI = ftp://oss.sgi.com/projects/fam/download/stable/fam-${PV}.tar.gz \
+ file://${FILESDIR}/compile-fix.patch;patch=1
+
+inherit autotools libtool
+
+CPPFLAGS_append = ' -DNDEBUG'
+
+do_stage() {
+ oe_soinstall libfam/.libs/libfam.so.0.0.0 ${STAGING_LIBDIR}/
+ install -m 0644 libfam/.libs/libfam.a ${STAGING_LIBDIR}/libfam.a
+ install -m 0644 libfam/.libs/libfam.lai ${STAGING_LIBDIR}/libfam.la
+ install -m 0644 include/* ${STAGING_INCDIR}/
+}
+