30 lines
832 B
Bash
30 lines
832 B
Bash
# Template file for 'swirc'
|
|
pkgname=swirc
|
|
version=3.2.5
|
|
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="79ff8ee8e08bbbc313b9abb0f2c1641395a903b5ea114b8223cdaa71ec880ee0"
|
|
|
|
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
|
|
}
|