void-packages/srcpkgs/libstrophe/template

27 lines
757 B
Text

# Template file for 'libstrophe'
pkgname=libstrophe
version=0.8.7
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config git"
makedepends="expat-devel zlib-devel libressl-devel>=2.1.3"
short_desc="A minimal XMPP library written in C"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://strophe.im/libstrophe/"
distfiles="https://github.com/strophe/libstrophe/archive/${version}.tar.gz"
checksum=368cd986378712f46838eda24d8d756934259fc8831e55cdd02ad68d53c21e5f
pre_configure() {
NOCONFIGURE=1 ./bootstrap.sh
}
libstrophe-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}