diff options
Diffstat (limited to 'data/boost_/make.sh')
-rw-r--r-- | data/boost_/make.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/boost_/make.sh b/data/boost_/make.sh new file mode 100644 index 000000000..b3ebe3312 --- /dev/null +++ b/data/boost_/make.sh @@ -0,0 +1,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 |