summaryrefslogtreecommitdiffstats
path: root/main/pidgin-sipe/APKBUILD
blob: 93a8800a120588a66e2ca020935be1e1f2818e58 (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
43
44
45
46
47
48
49
50
51
52
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pidgin-sipe
pkgver=1.18.4
pkgrel=0
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 gstreamer0.10-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 \
		--build=$CBUILD \
		--host=$CHOST \
		--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="a089912a89e421d5c0523fc4db05ce00  pidgin-sipe-1.18.4.tar.bz2"
sha256sums="8407e921372e5347537a2b3e349ce90807814fd2e856695d61235295ce98769f  pidgin-sipe-1.18.4.tar.bz2"
sha512sums="c563d5fd9a9ca06b7505efcc21a91f586921e2bcb6e29aaac2b3471c0f814ad13a9816a1aa3be896477b5c955bd5375ecf020797db0198a8f7fa3c7e5ba11e48  pidgin-sipe-1.18.4.tar.bz2"