mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: wsjtx-2.1.0
This commit is contained in:
parent
162bfb716d
commit
dbc7aa108d
1 changed files with 32 additions and 0 deletions
32
srcpkgs/wsjtx/template
Normal file
32
srcpkgs/wsjtx/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'wsjtx'
|
||||||
|
pkgname=wsjtx
|
||||||
|
version=2.1.0
|
||||||
|
revision=1
|
||||||
|
build_wrksrc="wsjtx"
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-Dhamlib_LIBRARY_DIRS=/usr/lib -DRIGCTLCOM_EXE=
|
||||||
|
-DRIGCTL_EXE= -DRIGCTLD_EXE="
|
||||||
|
hostmakedepends="pkg-config gcc-fortran ruby-asciidoctor asciidoc"
|
||||||
|
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"
|
||||||
|
short_desc="Weak-signal Amateur Radio communication program"
|
||||||
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html"
|
||||||
|
distfiles="http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-${version}.tgz"
|
||||||
|
checksum=9e6c5424b2c84534b9ae6b7cc8e014c9da6540a7c50df8f3b25636c09d87d411
|
||||||
|
|
||||||
|
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/bin/rigctl{,d}-wsjtx
|
||||||
|
rm -f ${DESTDIR}/usr/share/man/man1/rigctl{,d,com}-wsjtx.1.gz
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue