summaryrefslogtreecommitdiff
path: root/manualPorts/pidgin/Pkgfile
blob: 588c833fff9aeeda3c8cb56a9c3a4464db7b8e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Description: multi-protocol instant messaging client.
# URL: http://pidgin.im/
# Maintainer: Erich Eckner, crux at eckner dot net
# Packager: Simone Rota, sip at crux dot nu
# Depends on: dbus-glib farstream gtkspell nss startup-notification xorg-libxscrnsaver cyrus-sasl

name=pidgin
version=2.12.0
release=1
source=(http://downloads.sourceforge.net/project/$name/Pidgin/$version/$name-$version.tar.bz2
	$name.desktop)

build() {
	cd $name-$version

	CONFIG_SHELL=/bin/bash \
	./configure \
		--prefix=/usr \
		--enable-cyrus-sasl \
		--disable-nls \
		--disable-schemas-install \
		--disable-meanwhile \
		--disable-avahi \
		--disable-nm \
		--disable-tcl \
		--disable-dependency-tracking \
		--with-system-ssl-certs=/etc/ssl/certs \
		--with-nspr-includes=/usr/include/nspr \
		--with-nss-includes=/usr/include/nss \
		--with-nspr-libs=/usr/lib \
		--with-nss-libs=/usr/lib

	make
	make DESTDIR=$PKG install

	install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop

	find $PKG/usr/lib/ -name '*.la' -delete
	rm -rf $PKG/usr/etc/gconf
	rm -f $PKG/usr/lib/perl5/linux-thread-multi/perllocal.pod
}