void-packages/srcpkgs/swirc/template

31 lines
832 B
Bash
Raw Normal View History

2020-03-26 20:53:07 +00:00
# Template file for 'swirc'
pkgname=swirc
version=3.2.3
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"
checksum="52e273bbc9ea6384841947858d60cb740a65bd80d2257c7cab39d9a4eb919f06"
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
}