mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 15:20:19 +00:00
18 lines
290 B
Bash
Executable File
18 lines
290 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Usage: $ build.sh <output-dir>
|
|
|
|
OUT_PREFIX=$1
|
|
SOURCE_TARBALL='ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz'
|
|
|
|
curl $SOURCE_TARBALL | tar xz
|
|
# jx
|
|
mv libffi-3.0.13 libffi
|
|
|
|
cd libffi
|
|
./configure --prefix=$OUT_PREFIX
|
|
make
|
|
make install
|
|
|
|
# Cleanup
|
|
cd ..
|
|
rm -fr libffi |