void-packages/srcpkgs/zstd/template

27 lines
633 B
Bash

# Template file for 'zstd'
pkgname=zstd
version=1.1.1
revision=1
build_style=gnu-makefile
short_desc="Fast real-time compression algorithm"
maintainer="Michael Gehring <mg@ebfe.org>"
license="BSD"
homepage="http://www.zstd.net"
distfiles="https://github.com/facebook/zstd/archive/v${version}.tar.gz"
checksum=a92965a2480fecc6b7bf491106e93cbf69a298b865b6d623755b3a482d77e614
post_install() {
vlicense LICENSE
}
zstd-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"
}
}