hamlib: update to 4.5.

This commit is contained in:
classabbyamp 2022-11-04 03:02:54 -04:00
parent 47960280ea
commit 70642509d9
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'hamlib'
pkgname=hamlib
version=4.4
version=4.5
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-perl-binding --with-python-binding
@ -12,12 +12,14 @@ depends="perl"
short_desc="Library to control radio transceivers and receivers"
maintainer="classabbyamp <void@placeviolette.net>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/hamlib/"
distfiles="${SOURCEFORGE_SITE}/hamlib/${version}/${pkgname}-${version}.tar.gz"
checksum=8bf0107b071f52f08587f38e2dee8a7848de1343435b326f8f66d95e1f8a2487
homepage="https://hamlib.github.io"
changelog="https://raw.githubusercontent.com/Hamlib/Hamlib/master/NEWS"
distfiles="https://github.com/Hamlib/Hamlib/releases/download/${version}/hamlib-${version}.tar.gz"
checksum=14a2ce76a647a75e71d8ccf1f16999a6708e84823d9f74137f2173fcee94ad52
CFLAGS="-DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"
pre_configure() {
CFLAGS+=" -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
export PYTHON_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"
autoreconf -fi