many small fixes

This commit is contained in:
2025-09-13 18:03:04 -05:00
parent 748ccd4e3c
commit 814664adee
4 changed files with 79 additions and 46 deletions

View File

@@ -15,6 +15,7 @@ FB_FUNC_DESCS['package']='package ffmpeg build'
package() {
check_for_package_cfg || return 0
echo_info "packaging"
local pkgDir="${IGN_DIR}/package"
test -d "${pkgDir}" && rm -rf "${pkgDir}"
mkdir "${pkgDir}" || return 1
@@ -26,4 +27,5 @@ package() {
local tarball="ffmpeg-build-${HOSTTYPE}-$(print_os).tar"
tar -cf "${tarball}" ff* || return 1
xz -e -9 "${tarball}" || return 1
echo_pass "finished packaging ${tarball}.xz"
}