summaryrefslogtreecommitdiff
path: root/manualPorts/pidgin/Pkgfile
blob: ed8aa084db39ad347b3576566d1a8d34936a7268 (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
42
# 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.14.13
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 \
		--disable-avahi \
		--disable-dependency-tracking \
		--disable-gevolution \
		--disable-meanwhile \
		--disable-nls \
		--disable-nm \
		--disable-schemas-install \
		--disable-tcl \
		--enable-cyrus-sasl \
		--with-nspr-includes=/usr/include/nspr \
		--with-nss-includes=/usr/include/nss \
		--with-nspr-libs=/usr/lib \
		--with-nss-libs=/usr/lib \
		--with-system-ssl-certs=/etc/ssl/certs

	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
}