aboutsummaryrefslogtreecommitdiff
path: root/ports/ffnvcodec/build.sh
blob: 416c6bd8f93f295d266d62ce8ec4a04e52d84f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/bash

# Deploys the ffnvcodec.pc file to the MSYS rootfs so that pkgconfig can find it.

set -e
export PATH=/usr/bin:$PATH

SOURCE_PATH="$1"
CURRENT_PACKAGES_DIR="$2"

pushd ${SOURCE_PATH}

# Create ffnvcodec.pc
make PREFIX=${CURRENT_PACKAGES_DIR}
make install PREFIX=${CURRENT_PACKAGES_DIR}


popd