33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Template file for 'wsjtx'
|
|
pkgname=wsjtx
|
|
version=2.5.4
|
|
revision=3
|
|
build_wrksrc=wsjtx
|
|
build_style=cmake
|
|
configure_args="-DRIGCTLCOM_EXE= -DRIGCTL_EXE= -DRIGCTLD_EXE="
|
|
hostmakedepends="pkg-config gcc-fortran ruby-asciidoctor asciidoc tar"
|
|
makedepends="boost-devel fftw-devel libgomp-devel hamlib-devel libusb-devel qt5-devel
|
|
qt5-multimedia-devel qt5-tools-devel qt5-serialport-devel qt5-plugin-mysql
|
|
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
|
depends="qt5-plugin-sqlite"
|
|
short_desc="Weak-signal Amateur Radio communication program"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html"
|
|
changelog="https://physics.princeton.edu/pulsar/K1JT/Release_Notes.txt"
|
|
distfiles="${SOURCEFORGE_SITE}/wsjt/${pkgname}-${version}/${pkgname}-${version}.tgz"
|
|
checksum=1b3f3846ad2c0a5f410178b6612765d59ee63db249eb6cfc332ace17f0a30898
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
configure_args+=" -DBoost_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include"
|
|
fi
|
|
|
|
post_extract() {
|
|
tar xf src/wsjtx.tgz
|
|
}
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/share/man/man1/rigctl{,d,com}-wsjtx.1.gz
|
|
}
|