2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'irssi'
|
|
|
|
pkgname=irssi
|
2014-06-01 07:51:18 +00:00
|
|
|
version=0.8.16
|
2014-09-25 08:58:39 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-02-19 22:01:41 +00:00
|
|
|
configure_args="--disable-static --with-proxy --with-perl=module"
|
2014-09-25 08:58:39 +00:00
|
|
|
hostmakedepends="pkg-config perl>=5.20"
|
2014-07-27 15:55:19 +00:00
|
|
|
makedepends="libglib-devel libressl-devel ncurses-devel ca-certificates"
|
|
|
|
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-06-01 07:51:18 +00:00
|
|
|
checksum=3f7afed2a2754f1f5bf5cf2c87476f3c4d4aa5d71f9f4f68d05f927220d19f97
|
2013-02-19 22:01:41 +00:00
|
|
|
|
2013-04-17 09:52:35 +00:00
|
|
|
LDFLAGS="-lncursesw"
|
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-02-19 22:01:41 +00:00
|
|
|
# XXX perl module
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-12 14:39:50 +00:00
|
|
|
configure_args+=" --without-perl"
|
2013-02-19 22:01:41 +00:00
|
|
|
fi
|
2013-04-12 14:39:50 +00:00
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fi # !CROSS_BUILD
|
|
|
|
|
|
|
|
irssi-devel_package() {
|
2014-07-14 10:15:54 +00:00
|
|
|
depends="perl>=5.16 glib-devel libressl-devel ncurses-devel"
|
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
|
|
|
|
}
|
|
|
|
}
|