2022-10-15 14:51:03 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port='file'
|
2023-09-01 17:12:57 +00:00
|
|
|
version='5.45'
|
2022-10-15 14:51:03 +00:00
|
|
|
useconfigure='true'
|
|
|
|
use_fresh_config_sub='true'
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-01 17:12:57 +00:00
|
|
|
"http://ftp.astron.com/pub/file/file-${version}.tar.gz#fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2023-08-11 12:31:18 +00:00
|
|
|
|
|
|
|
function pre_configure() {
|
|
|
|
host_env
|
|
|
|
mkdir -p "host-build"
|
|
|
|
(
|
|
|
|
cd host-build
|
|
|
|
"../${workdir}/configure"
|
|
|
|
make
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
function build() {
|
|
|
|
export PATH="${PORT_BUILD_DIR}/host-build/src/.libs/:$PATH"
|
|
|
|
run make
|
|
|
|
}
|