void-packages/srcpkgs/irssi/template

46 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template build file for 'irssi'
pkgname=irssi
2014-06-01 09:51:18 +02:00
version=0.8.16
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-proxy --with-perl=module"
hostmakedepends="pkg-config perl>=5.16"
makedepends="libglib-devel openssl-devel ncurses-devel"
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-06-01 09:51:18 +02:00
checksum=3f7afed2a2754f1f5bf5cf2c87476f3c4d4aa5d71f9f4f68d05f927220d19f97
2013-04-17 11:52:35 +02:00
LDFLAGS="-lncursesw"
if [ "$CROSS_BUILD" ]; then
# XXX perl module
hostmakedepends="pkg-config"
configure_args+=" --without-perl"
fi
if [ -z "$CROSS_BUILD" ]; then
irssi-perl_package() {
depends="perl>=5.16 irssi>=$version"
short_desc="${short_desc} -- perl support"
pkg_install() {
vmove usr/lib/perl5
vmove "usr/lib/irssi/modules/*perl*"
vmove usr/share/irssi/scripts
}
}
fi # !CROSS_BUILD
irssi-devel_package() {
depends="perl>=5.16 glib-devel openssl-devel ncurses-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}