source: custom/examples/940-libffi@ 2718053

ablfs-more legacy trunk
Last change on this file since 2718053 was 9543675, checked in by Pierre Labastie <pierre@…>, 9 years ago

Update custom/examples. Thanks to Tom Armistead for the patch.

  • Property mode set to 100644
File size: 516 bytes
Line 
1#
2# $Id$
3#
4PKG="libffi"
5PKG_VERSION="3.2.1"
6PKG_FILE="libffi-3.2.1.tar.gz"
7URL="http://sourceware.org/pub/libffi/${PKG_FILE}"
8MD5="83b89587607e3eb65c70d361f13bab43"
9for i in PATCH{1..10}; do
10 unset $i
11done
12
13( cat << "xEOFx"
14sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
15 -i include/Makefile.in &&
16
17sed -e '/^includedir/ s/=.*$/=@includedir@/' \
18 -e 's/^Cflags: -I${includedir}/Cflags:/' \
19 -i libffi.pc.in &&
20
21./configure --prefix=/usr --disable-static &&
22make
23make install
24xEOFx
25) > tmp
Note: See TracBrowser for help on using the repository browser.