File: postinstall

package info (click to toggle)
linphone 5.3.105-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 57,048 kB
  • sloc: cpp: 166,867; ansic: 102,939; python: 8,280; java: 4,406; sh: 1,040; xml: 1,023; makefile: 777; perl: 377; objc: 190; php: 88; javascript: 38; cs: 38
file content (16 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

CURL=/usr/bin/curl
BUNZIP2=/usr/bin/bunzip2
VERSION=1.4.0
BASENAME=libopenh264-${VERSION}-osx64
FILENAME=${BASENAME}.dylib.bz2
TMPDIR=/tmp/linphone_installer

mkdir ${TMPDIR}
cd ${TMPDIR}
${CURL} http://ciscobinary.openh264.org/${FILENAME} > ${FILENAME}
${BUNZIP2} ${FILENAME}
cp ${BASENAME}.dylib /Applications/Linphone.app/Contents/Resources/lib/libopenh264.0.dylib
rm -r ${TMPDIR}