openmedialibrary_platform_d.../make.sh
2014-09-30 22:23:06 +02:00

39 lines
746 B
Bash
Executable file

cd `dirname $0`
#./src/pull.sh
#./build/build.sh
rm -rf dist
mkdir -p dist/bin dist/lib dist/include
for bin in \
python3 \
python3.4 \
; do
cp -a bin/$bin dist/bin/$bin
done
for bin in \
pip3 \
; do
sed "s/#\!.*python.*/#\!\/usr\/bin\/env python3/g" bin/$bin > dist/bin/$bin
done
cp -a lib/python3.4 dist/lib/python3.4
cp -a include/python3.4m dist/include/python3.4m
rm -r dist/lib/python3.4/test
find dist/ -name __pycache__ -type d | xargs rm -r
# libboost_system.dylib \
# libtorrent-rasterbar.7.dylib \
# libtorrent-rasterbar.dylib \
for lib in \
libfreetype.6.dylib \
libpng12.0.dylib \
libjpeg.62.dylib \
libz.1.dylib \
libz.1.2.8.dylib \
; do
cp -a lib/$lib dist/lib/$lib
done