summaryrefslogtreecommitdiff
path: root/manualPorts/pidgin/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /manualPorts/pidgin/Pkgfile
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'manualPorts/pidgin/Pkgfile')
-rw-r--r--manualPorts/pidgin/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/manualPorts/pidgin/Pkgfile b/manualPorts/pidgin/Pkgfile
new file mode 100644
index 0000000..588c833
--- /dev/null
+++ b/manualPorts/pidgin/Pkgfile
@@ -0,0 +1,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
+}