void-packages/srcpkgs/loudmouth/template
2015-08-06 09:00:33 +00:00

34 lines
1,009 B
Bash

# template file for 'loudmouth'
pkgname="loudmouth"
version="1.4.3"
revision=9
build_style=gnu-configure
configure_args="--with-ssl=openssl --with-asyncns"
short_desc="A lightweight Jabber client library written in C/Glib"
maintainer="Lukas Epple <sternenseemann@lukasepple.de>"
license="LGPL-2"
homepage="https://groups.google.com/forum/#!forum/loudmouth-dev"
distfiles="$GNOME_SITE/loudmouth/${version%.*}/loudmouth-${version}.tar.bz2"
checksum="95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3"
makedepends="libglib-devel libidn-devel libressl-devel"
hostmakedepends="pkg-config automake libtool glib-devel gtk-doc"
pre_configure() {
# Disable tests
sed -i '/SUBDIRS/s,tests,,g' Makefile.am
autoreconf -fi
}
loudmouth-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libglib-devel libidn-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig/
vmove usr/share/gtk-doc
}
}