void-packages/srcpkgs/zstd/template

27 lines
633 B
Bash
Raw Normal View History

2016-09-01 09:56:28 +02:00
# Template file for 'zstd'
pkgname=zstd
2016-11-03 21:27:23 +01:00
version=1.1.1
2016-09-01 09:56:28 +02:00
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"
2016-11-03 21:27:23 +01:00
checksum=a92965a2480fecc6b7bf491106e93cbf69a298b865b6d623755b3a482d77e614
2016-09-01 09:56:28 +02:00
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"
}
}