void-packages/srcpkgs/libgadu/template

26 lines
867 B
Bash

# Template file for 'libgadu'
pkgname=libgadu
version=1.12.1
revision=3
build_style=gnu-configure
configure_args="--with-c99-vsnprintf"
hostmakedepends="pkg-config perl"
makedepends="gnutls-devel libcurl-devel expat-devel libxml2-devel zlib-devel"
short_desc="Gadu-Gadu instant messaging protocol library"
maintainer="Jürgen Buchüller <pullmoll@t-online.de>"
license="LGPL-2.1"
homepage="https://www.wasilczyk.pl/en/projects/libgadu/"
distfiles="https://github.com/wojtekka/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=a2244074a89b587ba545b5d87512d6eeda941fec4a839b373712de93308d5386
libgadu-devel_package() {
depends="gnutls-devel zlib-devel ${sourcepkg}>=${version}_${revision}"
short_desc=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}