void-packages/srcpkgs/loudmouth/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

34 lines
1,009 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"
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
}
}