fix fam 2.7.0 build.
authorMichael Lauer <mickey@vanille-media.de>
Sat, 6 Mar 2004 14:21:28 +0000 (14:21 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 6 Mar 2004 14:21:28 +0000 (14:21 +0000)
note to self: start using bk sfiles -x ;)

BKrev: 4049de68oFprb1SqV1YavWM9n6dElA

fam/fam-2.7.0/compile-fix.patch [new file with mode: 0644]
fam/fam_2.7.0.oe [new file with mode: 0644]

diff --git a/fam/fam-2.7.0/compile-fix.patch b/fam/fam-2.7.0/compile-fix.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/fam/fam_2.7.0.oe b/fam/fam_2.7.0.oe
new file mode 100644 (file)
index 0000000..d9c2279
--- /dev/null
@@ -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}/
+}
+