summaryrefslogtreecommitdiff
path: root/data/boost_/make.sh
blob: b3ebe3312210e389d8e5f7b867487d169fe6ae8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
shopt -s extglob
pkg:extract
cd *
pkg:patch
./configure --prefix=/usr --without-icu --without-libraries=python
echo 'using darwin ;' >user-config.jam
make
make install PREFIX="${PKG_DEST}/usr"
rm -f "${PKG_DEST}"/usr/lib/*-d?(-+([0-9_])).@(a|dylib)
for na in "${PKG_DEST}"/usr/lib/*-+([0-9_]).a; do
    a=${na/-+([0-9_]).a/.a}
    rm -f "$a"
    ln -s "$(basename "$na")" "$a"
done