2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'irssi'
|
|
|
|
pkgname=irssi
|
2010-04-09 18:27:54 +02:00
|
|
|
version=0.8.15
|
2013-04-12 16:39:50 +02:00
|
|
|
revision=7
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-02-19 23:01:41 +01:00
|
|
|
configure_args="--disable-static --with-proxy --with-perl=module"
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config perl>=5.16"
|
|
|
|
makedepends="libglib-devel openssl-devel ncurses-devel"
|
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"
|
2010-04-09 18:27:54 +02:00
|
|
|
checksum=c12d16fb605103d7c256ddce44012dc396af57f3771e086d0387c195a052a0a6
|
2013-02-19 23:01:41 +01:00
|
|
|
|
2013-04-17 11:52:35 +02:00
|
|
|
LDFLAGS="-lncursesw"
|
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-02-19 23:01:41 +01:00
|
|
|
# XXX perl module
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-12 16:39:50 +02:00
|
|
|
configure_args+=" --without-perl"
|
2013-02-19 23:01:41 +01:00
|
|
|
fi
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
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"
|
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
|
|
|
|
}
|
|
|
|
}
|