-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathlibogg_build.bash
More file actions
23 lines (21 loc) · 784 Bytes
/
libogg_build.bash
File metadata and controls
23 lines (21 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
IDZ_OGG_VERSION=1.3.2
#Automatically set the current sdk version for ios
IDZ_OGG_SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version`
pushd $IDZ_BUILD_ROOT
mkdir -p libogg/$IDZ_OGG_VERSION
pushd libogg/$IDZ_OGG_VERSION
IDZ_OGG_DIR=libogg-$IDZ_OGG_VERSION
svn co http://svn.xiph.org/tags/ogg/$IDZ_OGG_DIR
pushd $IDZ_OGG_DIR
./autogen.sh
make distclean
popd
idz_configure armv7 $IDZ_OGG_SDK_VERSION $IDZ_OGG_DIR/configure
idz_configure armv7s $IDZ_OGG_SDK_VERSION $IDZ_OGG_DIR/configure
idz_configure arm64 $IDZ_OGG_SDK_VERSION $IDZ_OGG_DIR/configure
idz_configure i386 $IDZ_OGG_SDK_VERSION $IDZ_OGG_DIR/configure
idz_configure x86_64 $IDZ_OGG_SDK_VERSION $IDZ_OGG_DIR/configure
idz_fw Ogg libogg.a install-iPhoneSimulator-i386/include/ogg
echo "Wrote `pwd`/Ogg.framework"
popd
popd