summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build16
1 files changed, 16 insertions, 0 deletions
diff --git a/build b/build
new file mode 100644
index 0000000..953ccba
--- /dev/null
+++ b/build
@@ -0,0 +1,16 @@
+#! /usr/bin/make -f
+
+libffi : libffi.buildstamp
+
+.SILENT: libffi.buildstamp
+libffi.buildstamp:
+ cd src && \
+ ./configure --prefix=/usr && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-strip -gl /usr/local/lib/libffi.so
+ oh-strip -gl /usr/local/lib/libffi.so.5
+ oh-installfiles libffi
+ oh-installdocs libffi
+ oh-gencontrol libffi
+ oh-buildopk libffi
+ touch libffi.buildstamp