157.6. predict-3.0.2
Curses satellite tracker — passes, doppler and footprints from a TLE
3.0.2-1 · GPL-2.0-or-later · 0.1 SBU · 1.7 MiB, 67 files · 41_system, 104 of 1047 · ports/core/astronomy/predict
Homepage: https://www.qsl.net/kd2bd/predict.html
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/astronomy.txt:
A satellite tracker, honest about TLE age.
Depends on: ncurses, alsa-lib, curl.
Required by: no port names it.
Sources: predict-3.0.2.tar.gz (1.5 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install predict'
build.sh:
cc $CFLAGS $LDFLAGS -Wno-deprecated-non-prototype -Wno-format-truncation \
-Wno-unused-result predict.c -lncurses -pthread -lasound -lcurl -lm \
-o predict \
-DBUILD_DIR="\"/usr/share/predict/\"" \
-DPREDICT_VERSION="\"$version\""
install -Dm755 predict $PKG/usr/bin/predict
install -Dm644 docs/man/predict.1 $PKG/usr/share/man/man1/predict.1
install -d $PKG/usr/share/predict
cp -r default vocalizer $PKG/usr/share/predict/
install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/predict.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=Satellites (predict)
GenericName=Satellite Tracker
Comment=Passes, doppler and footprints from a TLE
Exec=predict
Icon=network-wireless
Terminal=true
Categories=Science;Astronomy;HamRadio;
Keywords=satellite;tle;orbit;pass;doppler;ham;radio;predict;
EOF
chmod 644 "$PKG/usr/share/applications/predict.desktop"
Programs: predict.
Directories: /usr/share/licenses/predict, /usr/share/predict.