2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'irssi'
|
|
|
|
pkgname=irssi
|
2014-10-12 06:58:50 +00:00
|
|
|
version=0.8.17
|
2015-01-22 11:09:32 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-12 06:58:50 +00:00
|
|
|
configure_args="--disable-static --with-proxy --enable-true-color"
|
|
|
|
hostmakedepends="pkg-config"
|
2015-01-22 11:09:32 +00:00
|
|
|
makedepends="libglib-devel libressl-devel>=2.1.3 ncurses-devel"
|
2014-07-27 15:55:19 +00:00
|
|
|
depends="ca-certificates"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/irssi.conf"
|
2012-05-27 10:03:51 +00:00
|
|
|
homepage="http://www.irssi.org"
|
2008-09-28 08:37:37 +00:00
|
|
|
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-02-19 22:01:41 +00:00
|
|
|
|
2013-04-17 09:52:35 +00:00
|
|
|
LDFLAGS="-lncursesw"
|
2014-10-12 06:58:50 +00:00
|
|
|
subpackages="irssi-devel"
|
2013-04-12 14:39:50 +00:00
|
|
|
|
|
|
|
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
|
2013-04-12 14:39:50 +00:00
|
|
|
|
|
|
|
irssi-perl_package() {
|
2014-09-25 08:58:39 +00:00
|
|
|
depends="perl>=5.20 irssi"
|
|
|
|
short_desc+=" - perl support"
|
2013-04-12 14:39:50 +00:00
|
|
|
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}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 14:39:50 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|