mirror of
https://github.com/yoppeh/minl.git
synced 2026-01-14 03:15:17 +00:00
30 lines
393 B
Bash
Executable File
30 lines
393 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export STAGE=2
|
|
|
|
. ./environment.sh
|
|
. ./package-versions.sh
|
|
|
|
export FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
if [ -f $PROGRESS_DIR/2-libtool ] ; then
|
|
exit 0
|
|
fi
|
|
|
|
echo "building libtool..."
|
|
|
|
set -e
|
|
|
|
tar xf libtool-${libtool_v}.tar.xz
|
|
cd libtool-${libtool_v}
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
make install
|
|
|
|
rm -f /usr/lib/libltdl.a
|
|
|
|
cd ..
|
|
rm -rf libtool-${libtool_v}
|
|
touch $PROGRESS_DIR/2-libtool
|