1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 12:22:00 -05:00
sdrangel/cmake/cpack/sdrangel.sh
Davide Gerhard 1763fa495b
cpack: use as package creator
We use CPACK (cmake helper) to package the software

- macOS: we build the .APP and .dmg with all dependencies, like qt,
  soapysdr and all others sdr drivers. ENABLE_MIRSDRAPI control if we
  remove the mirsdrapi dylib because it is not public distribuitable;
  so should be used only on "private" environment.
  TODO:
    - code/dmg signature

- Debian: make deb with dependencies for Debian 10/9 and Ubuntu
  18.04/16.04.
  TODO:
    - probably to send the package to upstream we need to use
      debhelper and debian/

- Fedora/rpm: just basic declaration
  TODO:
    - write correctly dependencies
2019-05-21 20:19:29 +02:00

11 lines
188 B
Bash
Executable File

#!/bin/sh
get_abs_dir() {
# $1 : relative filename
echo "$(cd "$(dirname "$1")" && pwd)"
}
SDRANGEL_RESOURCES="$(get_abs_dir "$0")/../Resources"
exec "$SDRANGEL_RESOURCES/sdrangel"