void-packages/srcpkgs/loudmouth/template

35 lines
1007 B
Plaintext
Raw Normal View History

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