30 lines
675 B
Bash
30 lines
675 B
Bash
# Template file for 'zstd'
|
|
pkgname=zstd
|
|
version=1.1.3
|
|
revision=1
|
|
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=106c532ae840a6ee4aee5258f04f3acab7b3e09b9e9584ebe94e4fbfd899af0a
|
|
|
|
do_build() {
|
|
make
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX=/usr DESTDIR="${DESTDIR}" 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"
|
|
}
|
|
}
|