2016-09-01 07:56:28 +00:00
|
|
|
# Template file for 'zstd'
|
|
|
|
pkgname=zstd
|
2016-09-28 09:46:53 +00:00
|
|
|
version=1.1.0
|
2016-09-01 07:56:28 +00: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-09-28 09:46:53 +00:00
|
|
|
checksum=61cbbd28ff78f658f0564c2ccc206ac1ac6abe7f2c65c9afdca74584a104ea51
|
2016-09-01 07:56:28 +00: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"
|
|
|
|
}
|
|
|
|
}
|