openmedialibrary_platform_d.../make.sh

42 lines
759 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 \
python \
python2 \
python2.7 \
; do
cp -a bin/$bin dist/bin/$bin
done
for bin in \
easy_install \
easy_install-2.7 \
pip \
pip2.7 \
; do
sed "s/#\!.*python.*/#\!\/usr\/bin\/env python/g" bin/$bin > dist/bin/$bin
done
cp -a lib/python2.7 dist/lib/python2.7
cp -a include/python2.7 dist/include/python2.7
rm -r dist/lib/python2.7/test
# 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