void-packages/srcpkgs/snappy/template
2017-09-11 14:51:55 +02:00

27 lines
691 B
Bash

# Template file for 'snappy'
pkgname=snappy
version=1.1.7
revision=1
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
}
}