2020-03-26 20:53:07 +00:00
|
|
|
# Template file for 'swirc'
|
|
|
|
pkgname=swirc
|
2020-04-08 18:09:06 +00:00
|
|
|
version=3.2.4
|
2020-03-26 20:53:07 +00:00
|
|
|
revision=1
|
|
|
|
build_style=configure
|
|
|
|
make_install_args="PREFIX=/usr"
|
|
|
|
hostmakedepends="pkg-config which"
|
|
|
|
makedepends="libcurl-devel libressl-devel ncurses-devel libidn-devel"
|
|
|
|
checkdepends="cmocka-devel"
|
|
|
|
short_desc="Curses ICB and IRC client"
|
|
|
|
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"
|
2020-04-08 18:09:06 +00:00
|
|
|
checksum="c8c15eeb6cc768a1b96952314420fea60c942b4dad25f6318d28dd2f00a02bc9"
|
2020-03-26 20:53:07 +00:00
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
local _file="options.mk"
|
|
|
|
|
|
|
|
if [ ! -f "$_file" ]; then
|
|
|
|
msg_error "cannot find $_file\n"
|
|
|
|
fi
|
|
|
|
|
|
|
|
vsed -i "$_file" -e "s/CC=/CC?=/"
|
|
|
|
vsed -i "$_file" -e "s/CXX=/CXX?=/"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense debian/copyright COPYING
|
|
|
|
}
|