27 lines
699 B
Bash
27 lines
699 B
Bash
# Template file for 'snappy'
|
|
pkgname=snappy
|
|
version=1.1.8
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=1"
|
|
makedepends="zlib-devel lzo-devel"
|
|
short_desc="Fast compressor/decompressor library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://google.github.io/snappy"
|
|
distfiles="https://github.com/google/snappy/archive/${version}.tar.gz"
|
|
checksum=16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f
|
|
|
|
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
|
|
}
|
|
}
|