29 lines
785 B
Bash
29 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"
|
|
}
|
|
}
|