blob: a6dc591ef704a696bc0064e810d97795f616ac7c (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=loudmouth
pkgver=1.5.3
pkgrel=0
pkgdesc="A lightweight Jabber client library"
url="http://groups.google.com/group/loudmouth-dev"
arch="all"
license="LGPL2+"
depends_dev="pkgconfig gnutls-dev libidn-dev libasyncns-dev check-dev autoconf"
makedepends="$depends_dev glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://mcabber.com/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
autoconf
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--disable-static \
--with-asyncns=yes \
--prefix=/usr \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ab6b16b4e644b69cdb7d8df1753d1bb5b43c2f1e76944e639339169b332e1b5c6a4246053c5b8a579ee9b53c845cef610b0040dfdffeb857180b6bab71adfcce loudmouth-1.5.3.tar.bz2"
|