void-packages/srcpkgs/zstd/template
2016-09-28 11:46:53 +02:00

26 lines
633 B
Bash

# Template file for 'zstd'
pkgname=zstd
version=1.1.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=61cbbd28ff78f658f0564c2ccc206ac1ac6abe7f2c65c9afdca74584a104ea51
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"
}
}