2020-09-23 08:29:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
package_variant() {
|
|
|
|
IN="$1"
|
|
|
|
OUT="$2"
|
|
|
|
|
|
|
|
mkdir -p "$OUT"/bin
|
2020-09-23 09:58:13 +00:00
|
|
|
cp "$IN"/bin/*.{exe,dll} "$OUT"/bin
|
|
|
|
|
|
|
|
mkdir -p "$OUT"/lib
|
|
|
|
cp "$IN"/bin/*.lib "$OUT"/lib
|
|
|
|
cp "$IN"/lib/*.{def,dll.a} "$OUT"/lib
|
|
|
|
|
|
|
|
mkdir -p "$OUT"/include
|
|
|
|
cp -r "$IN"/include/* "$OUT"/include
|
2020-09-23 08:29:54 +00:00
|
|
|
|
2021-05-12 17:50:12 +00:00
|
|
|
mkdir -p "$OUT"/doc
|
2020-09-23 08:29:54 +00:00
|
|
|
cp -r "$IN"/share/doc/ffmpeg/* "$OUT"/doc
|
|
|
|
}
|