void-packages/srcpkgs/libstrophe/template
Nathan Owens 8f58b40b25 libstrophe: update to 0.9.3
Memory leak patch is now part of src,
remove un-needed patch
2019-11-09 19:47:02 +01:00

28 lines
785 B
Bash

# Template file for 'libstrophe'
pkgname=libstrophe
version=0.9.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="expat-devel libressl-devel zlib-devel"
short_desc="Minimal XMPP library written in C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="http://strophe.im/libstrophe/"
distfiles="https://github.com/strophe/libstrophe/archive/${version}.tar.gz"
checksum=8a3b79f62177ed59c01d4d4108357ff20bd933d53b845ee4e350d304c051a4fe
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/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}