swirc: update to 3.2.6.

This commit is contained in:
Markus Uhlin 2021-02-17 20:54:32 +01:00 committed by Érico Rolim
parent 19d1433439
commit 8ca33a4285
1 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'swirc'
pkgname=swirc
version=3.2.5
version=3.2.6
revision=1
build_style=configure
make_install_args="PREFIX=/usr"
@ -12,7 +12,7 @@ maintainer="Markus Uhlin <markus.uhlin@bredband.net>"
license="BSD-3-Clause, ISC, MIT"
homepage="https://www.nifty-networks.net/swirc"
distfiles="https://www.nifty-networks.net/swirc/releases/${pkgname}-${version}.tgz"
checksum="79ff8ee8e08bbbc313b9abb0f2c1641395a903b5ea114b8223cdaa71ec880ee0"
checksum="dc451cdfcfba14e4b891bc35392ec845485d16ce1b945e3e4cd18b3278102498"
post_configure() {
local _file="options.mk"
@ -25,6 +25,18 @@ post_configure() {
vsed -i "$_file" -e "s/CXX=/CXX?=/"
}
post_check() {
# "make clean" is needed here because after running "make
# check" multiple objects in the main source dir and its
# subdirectories have been compiled with the intention to make
# unittesting possible by simulating real behavior. The
# main-symbol is also stripped (i.e. removed) from the main.o
# file during the "make check" phase. Thus a fresh rebuild is
# needed.
make clean
make ${makejobs}
}
post_install() {
vlicense debian/copyright COPYING
}