ablfs-more
legacy
trunk
Last change
on this file since 5a965ad 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 | #
|
---|
4 | PKG="libffi"
|
---|
5 | PKG_VERSION="3.2.1"
|
---|
6 | PKG_FILE="libffi-3.2.1.tar.gz"
|
---|
7 | URL="http://sourceware.org/pub/libffi/${PKG_FILE}"
|
---|
8 | MD5="83b89587607e3eb65c70d361f13bab43"
|
---|
9 | for i in PATCH{1..10}; do
|
---|
10 | unset $i
|
---|
11 | done
|
---|
12 |
|
---|
13 | ( cat << "xEOFx"
|
---|
14 | sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
|
---|
15 | -i include/Makefile.in &&
|
---|
16 |
|
---|
17 | sed -e '/^includedir/ s/=.*$/=@includedir@/' \
|
---|
18 | -e 's/^Cflags: -I${includedir}/Cflags:/' \
|
---|
19 | -i libffi.pc.in &&
|
---|
20 |
|
---|
21 | ./configure --prefix=/usr --disable-static &&
|
---|
22 | make
|
---|
23 | make install
|
---|
24 | xEOFx
|
---|
25 | ) > tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.