mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-10 04:25:18 +02:00
30 lines
948 B
Bash
30 lines
948 B
Bash
# Template file for 'snappy'
|
|
pkgname=snappy
|
|
version=1.1.10
|
|
revision=1
|
|
build_style=cmake
|
|
# Disable tests and benchmarks requiring bundled gtest dependency.
|
|
# Upstream discourages enabling those for packaging:
|
|
# https://github.com/google/snappy/pull/132
|
|
configure_args="-DBUILD_SHARED_LIBS=1 -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF"
|
|
makedepends="zlib-devel lzo-devel gtest-devel benchmark-devel"
|
|
short_desc="Fast compressor/decompressor library"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://google.github.io/snappy"
|
|
distfiles="https://github.com/google/snappy/archive/${version}.tar.gz"
|
|
checksum=49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
snappy-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|