void-packages/srcpkgs/irssi/template

43 lines
1.1 KiB
Bash
Raw Normal View History

# Template build file for 'irssi'
pkgname=irssi
2014-10-12 08:58:50 +02:00
version=0.8.17
revision=5
build_style=gnu-configure
2014-10-12 08:58:50 +02:00
configure_args="--disable-static --with-proxy --enable-true-color"
hostmakedepends="pkg-config"
makedepends="libglib-devel libressl-devel>=2.1.4 ncurses-devel"
depends="ca-certificates"
conf_files="/etc/irssi.conf"
2012-05-27 12:03:51 +02: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 12:03:51 +02:00
license="GPL-2"
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
2014-10-12 08:58:50 +02:00
checksum=3c9600cad2edf58f1d012febc1a0ba844274df6e331c01a9e935467705166807
2013-04-17 11:52:35 +02:00
LDFLAGS="-lncursesw"
2014-10-12 08:58:50 +02:00
subpackages="irssi-devel"
if [ -z "$CROSS_BUILD" ]; then
2014-10-12 08:58:50 +02:00
configure_args+=" --with-perl=module"
subpackages+=" irssi-perl"
makedepends+=" perl>=5.20.2"
2014-10-12 08:58:50 +02:00
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() {
2014-10-12 08:58:50 +02:00
depends="${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}