void-packages/srcpkgs/hiredis/template

23 lines
614 B
Bash

# Template file for 'hiredis'
pkgname=hiredis
version=0.13.3
revision=1
build_style=gnu-makefile
short_desc="Minimalistic C client for Redis"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD"
homepage="https://github.com/redis/hiredis"
distfiles="https://github.com/redis/hiredis/archive/v$version.tar.gz"
checksum=717e6fc8dc2819bef522deaca516de9e51b9dfa68fe393b7db5c3b6079196f78
hiredis-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}