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