void-packages/srcpkgs/libstrophe/template
2016-10-06 03:47:53 -04:00

27 lines
749 B
Bash

# Template file for 'libstrophe'
pkgname=libstrophe
version=0.9.1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="expat-devel zlib-devel libressl-devel"
short_desc="A minimal XMPP library written in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://strophe.im/libstrophe/"
distfiles="https://github.com/strophe/libstrophe/archive/${version}.tar.gz"
checksum=c90493f986e5bd407132c5a3e174378c02cb80fa4eaee29875e06b4bba6afcc3
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
}
}