75340d4725
Fixes CVE-2017-10965 and CVE-2017-10966 More details: https://irssi.org/security/irssi_sa_2017_07.txt Closes: #6997 [via git-merge-pr]
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template build file for 'irssi'
|
|
pkgname=irssi
|
|
version=1.0.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-proxy --enable-true-color"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel libressl-devel ncurses-devel"
|
|
depends="ca-certificates"
|
|
conf_files="/etc/irssi.conf"
|
|
homepage="http://www.irssi.org"
|
|
short_desc="Secure and modular IRC client with text mode user interface"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
distfiles="https://github.com/irssi/irssi/releases/download/${version}/irssi-${version}.tar.gz"
|
|
checksum=48ff359f8abb706e729cbb8bc7bd93863e4e785f9a05d993a398310ac74beea8
|
|
|
|
LDFLAGS="-lncursesw"
|
|
subpackages="irssi-devel"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
configure_args+=" --with-perl=module"
|
|
subpackages+=" irssi-perl"
|
|
makedepends+=" perl"
|
|
fi
|
|
|
|
irssi-perl_package() {
|
|
depends="irssi"
|
|
short_desc+=" - perl support"
|
|
pkg_install() {
|
|
vmove usr/lib/perl5
|
|
vmove "usr/lib/irssi/modules/*perl*"
|
|
vmove usr/share/irssi/scripts
|
|
}
|
|
}
|
|
irssi-devel_package() {
|
|
depends="${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|