void-packages/srcpkgs/irssi/template

43 lines
1.1 KiB
Text
Raw Normal View History

# Template build file for 'irssi'
pkgname=irssi
2014-10-12 06:58:50 +00:00
version=0.8.17
revision=3
build_style=gnu-configure
2014-10-12 06:58:50 +00:00
configure_args="--disable-static --with-proxy --enable-true-color"
hostmakedepends="pkg-config"
makedepends="libglib-devel libressl-devel>=2.1.3 ncurses-devel"
depends="ca-certificates"
conf_files="/etc/irssi.conf"
2012-05-27 10:03:51 +00:00
homepage="http://www.irssi.org"
short_desc="Secure and modular IRC client with text mode user interface"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-05-27 10:03:51 +00:00
license="GPL-2"
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
2014-10-12 06:58:50 +00:00
checksum=3c9600cad2edf58f1d012febc1a0ba844274df6e331c01a9e935467705166807
2013-04-17 09:52:35 +00:00
LDFLAGS="-lncursesw"
2014-10-12 06:58:50 +00:00
subpackages="irssi-devel"
if [ -z "$CROSS_BUILD" ]; then
2014-10-12 06:58:50 +00:00
configure_args+=" --with-perl=module"
subpackages+=" irssi-perl"
makedepends+=" perl>=5.20"
fi
irssi-perl_package() {
depends="perl>=5.20 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() {
2014-10-12 06:58:50 +00:00
depends="${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}