2014-04-03 21:53:52 +00:00
|
|
|
# Template file for 'xchat'
|
|
|
|
pkgname=xchat
|
|
|
|
version=2.8.8
|
2015-01-22 11:09:32 +00:00
|
|
|
revision=5
|
2014-04-04 10:29:39 +00:00
|
|
|
lib32disabled=yes
|
2014-04-03 21:53:52 +00:00
|
|
|
build_style=gnu-configure
|
2014-09-25 08:58:39 +00:00
|
|
|
hostmakedepends="pkg-config gdk-pixbuf-devel perl>=5.20"
|
2015-01-22 11:09:32 +00:00
|
|
|
makedepends="gtk+-devel libressl-devel>=2.1.3 dbus-glib-devel perl>=5.20"
|
2014-04-03 21:53:52 +00:00
|
|
|
configure_args=" --sysconfdir=/etc --enable-openssl --enable-dbus
|
2014-09-25 08:58:39 +00:00
|
|
|
--disable-textfe --enable-ipv6 --enable-shm --enable-spell=static"
|
2014-04-03 21:53:52 +00:00
|
|
|
short_desc="A GTK+ based IRC client"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
homepage="http://www.xchat.org/"
|
|
|
|
license="GPL"
|
|
|
|
distfiles="http://www.xchat.org/files/source/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=37b7afd87b5576e17f5dbdd0ed8c14004ac71b8c5430baff9a785bad8df0310b
|
|
|
|
make_build_args="LDFLAGS=-lgmodule-2.0"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
local perlflags=
|
|
|
|
# Fix perl library path
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
|
|
perlflags=`perl -MExtUtils::Embed -e ldopts | sed \
|
|
|
|
-e 's/-lgdbm //' \
|
|
|
|
-e "s#/usr/lib#${XBPS_CROSS_BASE}\0#"`
|
|
|
|
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
|
|
|
fi
|
|
|
|
}
|