aboutsummaryrefslogblamecommitdiffstats
path: root/main/loudmouth/APKBUILD
blob: bc23afdd52c888f597f5f940de5526044348a7b5 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                               
            
        


                                                  
                           

                                                                               
                                       

                                                                          

           

                       


         
                      
                     

                                 

                                    
                               
                                           

                                    



                      
                  


           
                      
                                      

 
                                                                                                                                                                      
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=loudmouth
pkgver=1.5.3
pkgrel=1
pkgdesc="A lightweight Jabber client library"
url="http://groups.google.com/group/loudmouth-dev"
arch="all"
license="LGPL-2.0-or-later"
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"