2014-08-25 17:51:46 +00:00
|
|
|
# Template file for 'libstrophe'
|
|
|
|
pkgname=libstrophe
|
|
|
|
version=0.8.6
|
2014-08-25 20:47:04 +00:00
|
|
|
revision=2
|
2014-08-25 17:51:46 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool pkg-config git"
|
|
|
|
makedepends="expat-devel zlib-devel libressl-devel"
|
|
|
|
short_desc="A minimal XMPP library written in C"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://strophe.im/libstrophe/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone git://github.com/strophe/libstrophe ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|