void-packages/srcpkgs/swirc/template
2020-07-05 01:09:24 +02:00

30 lines
832 B
Bash

# Template file for 'swirc'
pkgname=swirc
version=3.2.4
revision=2
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"
checksum="c8c15eeb6cc768a1b96952314420fea60c942b4dad25f6318d28dd2f00a02bc9"
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
}