void-packages/srcpkgs/zstd/template

27 lines
633 B
Bash
Raw Normal View History

2016-09-01 07:56:28 +00:00
# Template file for 'zstd'
pkgname=zstd
version=1.0.0
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=197e6ef74da878cbf72844f38461bb18129d144fd5221b3598e973ecda6f5963
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"
}
}