void-packages/srcpkgs/loudmouth/template
2016-03-30 02:03:54 -04:00

32 lines
971 B
Bash

# Template file for 'loudmouth'
pkgname="loudmouth"
version="1.5.3"
revision=2
build_style=gnu-configure
configure_args="--with-ssl=openssl --with-asyncns"
short_desc="A lightweight Jabber client library written in C/Glib"
hostmakedepends="pkg-config automake libtool glib-devel gtk-doc"
makedepends="libglib-devel libidn-devel libressl-devel"
maintainer="Lukas Epple <sternenseemann@lukasepple.de>"
license="LGPL-2"
homepage="https://github.com/mcabber/loudmouth"
distfiles="https://github.com/mcabber/${pkgname}/archive/${version}.tar.gz"
checksum=12972fcffd9bbcc4a3b2b9fbf4b0e549f7b4caf0f11c8d2af2059087ce4e8792
pre_configure() {
# Disable tests
sed -i '/SUBDIRS/s,tests,,g' Makefile.am
gtkdocize
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
}
}