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
|
2015-03-04 16:04:30 +01:00
|
|
|
revision=5
|
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"
|
2015-03-04 16:04:30 +01:00
|
|
|
makedepends="libglib-devel libressl-devel>=2.1.4 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"
|
2015-02-15 13:27:01 +01:00
|
|
|
makedepends+=" perl>=5.20.2"
|
2014-10-12 08:58:50 +02:00
|
|
|
fi
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
irssi-perl_package() {
|
2015-02-15 13:27:01 +01:00
|
|
|
depends="irssi"
|
2014-09-25 10:58:39 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|