void-packages/srcpkgs/hiredis/template
2018-09-30 19:03:30 -03:00

26 lines
663 B
Bash

# Template file for 'hiredis'
pkgname=hiredis
version=0.14.0
revision=1
build_style=gnu-makefile
short_desc="Minimalistic C client for Redis"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://github.com/redis/hiredis"
distfiles="https://github.com/redis/hiredis/archive/v${version}.tar.gz"
checksum=042f965e182b80693015839a9d0278ae73fae5d5d09d8bf6d0e6a39a8c4393bd
post_install() {
vlicense COPYING
}
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"
}
}