27 lines
691 B
Bash
27 lines
691 B
Bash
# Template file for 'snappy'
|
|
pkgname=snappy
|
|
version=1.1.7
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=1"
|
|
makedepends="zlib-devel lzo-devel"
|
|
short_desc="A fast compressor/decompressor library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://google.github.io/snappy"
|
|
license="BSD"
|
|
distfiles="https://github.com/google/snappy/archive/${version}.tar.gz"
|
|
checksum=3dfa02e873ff51a11ee02b9ca391807f0c8ea0529a4924afa645fbf97163f9d4
|
|
|
|
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
|
|
}
|
|
}
|