16 lines
250 B
Bash
16 lines
250 B
Bash
#!/bin/bash
|
|
|
|
package_variant() {
|
|
IN="$1"
|
|
OUT="$2"
|
|
|
|
mkdir -p "$OUT"/bin
|
|
cp "$IN"/bin/* "$OUT"/bin
|
|
|
|
mkdir -p "$OUT/doc"
|
|
cp -r "$IN"/share/doc/ffmpeg/* "$OUT"/doc
|
|
|
|
mkdir -p "$OUT/man"
|
|
cp -r "$IN"/share/man/* "$OUT"/man
|
|
}
|