Changeset c31b589 for scripts/build_apple_frameworks
- Timestamp:
- Apr 26, 2016, 1:26:47 AM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 1d0370a
- Parents:
- a89ed31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/build_apple_frameworks
ra89ed31 rc31b589 7 7 LIBVERSION=$LIBAUBIO_LT_CUR.$LIBAUBIO_LT_REV.$LIBAUBIO_LT_AGE 8 8 OUTPUTDIR=$PWD/dist 9 mkdir -p $OUTPUTDIR9 mkdir -p "$OUTPUTDIR" 10 10 # add git abbreviated commit hash 11 11 #VERSION+=+$(git log --pretty=format:"%h" -1) … … 26 26 # create tarball 27 27 tarfile=$OUTPUTDIR/$1-$2.$3_binary.tar.bz2 28 tar -C $AUBIO_TMPDIR/dist-$3/ -jcf $tarfile.28 tar -C $AUBIO_TMPDIR/dist-$3/ -jcf "$tarfile" . 29 29 #rm -rf $AUBIO_TMPDIR/dist-$3 30 30 } … … 35 35 cp -pr COPYING README.md $AUBIO_TMPDIR/framework-$3/$1-$2.$3_framework 36 36 pushd $AUBIO_TMPDIR/framework-$3 37 cp -pr $OLDPWD/build/src/lib$1.a$1-$2.$3_framework/$1.framework/$1 || \37 cp -pr "$OLDPWD/build/src/lib$1.a" $1-$2.$3_framework/$1.framework/$1 || \ 38 38 cp -pr $AUBIO_TMPDIR/dist-$3/usr/local/lib/lib$1.$LIBVERSION.dylib \ 39 39 $AUBIO_TMPDIR/framework-$3/$1-$2.$3_framework/$1.framework/$1 40 40 cp -pr $AUBIO_TMPDIR/dist-$3/usr/local/include/$1 $1-$2.$3_framework/$1.framework/Headers 41 cp -pr $OLDPWD/scripts/apple/Modules$1-$2.$3_framework/$1.framework/41 cp -pr "$OLDPWD/scripts/apple/Modules" $1-$2.$3_framework/$1.framework/ 42 42 popd 43 43 } … … 62 62 zip -qr $zipfile $1-$2.$3_framework 63 63 popd 64 mv $AUBIO_TMPDIR/framework-$3/$zipfile $OUTPUTDIR64 mv $AUBIO_TMPDIR/framework-$3/$zipfile "$OUTPUTDIR" 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.