void-packages/srcpkgs/loudmouth/template

35 lines
1016 B
Bash

# template file for 'loudmouth'
pkgname="loudmouth"
version="1.4.3"
revision=7
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>=2.1.4"
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
}
}