aboutsummaryrefslogtreecommitdiffstats
path: root/main/pidgin-sipe/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-30 20:28:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-30 20:28:58 +0000
commit1e100badf53b4a9c0f057d377b1588560eaa457f (patch)
tree209a7b72b836184aa03d8a144cf5f6ba1c5ed0cd /main/pidgin-sipe/APKBUILD
parent656709c679e7d7ba2903619f8a1c20dfabd00da8 (diff)
downloadaports-1e100badf53b4a9c0f057d377b1588560eaa457f.tar.bz2
aports-1e100badf53b4a9c0f057d377b1588560eaa457f.tar.xz
main/pidgin-sipe: moved from testing
Diffstat (limited to 'main/pidgin-sipe/APKBUILD')
-rw-r--r--main/pidgin-sipe/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/pidgin-sipe/APKBUILD b/main/pidgin-sipe/APKBUILD
new file mode 100644
index 0000000000..d7eb4b37de
--- /dev/null
+++ b/main/pidgin-sipe/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=pidgin-sipe
+pkgver=1.13.3
+pkgrel=1
+pkgdesc="Pidgin protocol plugin to connect to MS Office Communicator"
+url="http://sipe.sourceforge.net/"
+arch="all"
+license="GPLv2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev zlib-dev pidgin-dev e2fsprogs-dev intltool
+ heimdal-dev libxml2-dev glib-dev nss-dev libnice-dev gstreamer-dev
+ gmime-dev"
+install=""
+subpackages="$pkgname-lang"
+source="http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-$pkgver/pidgin-sipe-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/pidgin-sipe-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --enable-purple \
+ --disable-telepathy \
+ --with-vv \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/purple*/libsipe.la
+}
+
+md5sums="7d115de9d9029c9eebd0a3647dbf27d5 pidgin-sipe-1.13.3.tar.bz2"