summaryrefslogtreecommitdiff
path: root/data/boost/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/boost/make.sh
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/boost/make.sh')
-rw-r--r--data/boost/make.sh14
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..75f76d8a4
--- /dev/null
+++ b/data/boost/make.sh
@@ -0,0 +1,14 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/boost_1_34_1.tar.gz"
+cd boost_1_34_1
+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