2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'irssi'
|
|
|
|
pkgname=irssi
|
2014-10-12 08:58:50 +02:00
|
|
|
version=0.8.17
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
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 ncurses-devel"
|
2014-07-27 17:55:19 +02:00
|
|
|
depends="ca-certificates"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/irssi.conf"
|
2012-05-27 12:03:51 +02:00
|
|
|
homepage="http://www.irssi.org"
|
2008-09-28 10:37:37 +02:00
|
|
|
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-02-19 23:01:41 +01:00
|
|
|
|
2013-04-17 11:52:35 +02:00
|
|
|
LDFLAGS="-lncursesw"
|
2014-10-12 08:58:50 +02:00
|
|
|
subpackages="irssi-devel"
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
fi
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
irssi-perl_package() {
|
2014-09-25 10:58:39 +02:00
|
|
|
depends="perl>=5.20 irssi"
|
|
|
|
short_desc+=" - perl support"
|
2013-04-12 16:39:50 +02:00
|
|
|
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}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 16:39:50 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|