35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'libstrophe'
|
|
pkgname=libstrophe
|
|
version=0.12.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable cares) $(vopt_enable tls)"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="$(vopt_if cares c-ares-devel) expat-devel
|
|
$(vopt_if tls openssl-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/"
|
|
changelog="https://raw.githubusercontent.com/strophe/libstrophe/master/ChangeLog"
|
|
distfiles="https://github.com/strophe/libstrophe/archive/${version}.tar.gz"
|
|
checksum=f645819d8d93711c92454974dd9007c9b9e98ea0b59cb708dc626dd4c6b9d0a8
|
|
|
|
build_options="cares tls"
|
|
build_options_default="tls"
|
|
|
|
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"
|
|
}
|
|
}
|