File: examples

package info (click to toggle)
ffmpeg 7%3A8.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 111,180 kB
  • sloc: ansic: 1,348,518; asm: 145,582; sh: 9,273; makefile: 5,323; cpp: 3,451; lisp: 1,771; perl: 1,303; objc: 1,058; python: 120; awk: 56; ruby: 51
file content (24 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -e

# build the examples

echo "AUTOPKGTEST_TMP directory: $AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

cp -r /usr/share/doc/ffmpeg/examples ./
cd examples

if [ -n "$DEB_HOST_MULTIARCH" ]; then
    export CC="$DEB_HOST_GNU_TYPE-gcc"
    export PKG_CONFIG_PATH="/usr/lib/$DEB_HOST_MULTIARCH/pkgconfig"
fi

echo "building the examples..."
ret=0
make -k all 2>&1
ret=$?
echo "done!"

exit $ret