void-packages/srcpkgs/snappy/template
2016-12-09 20:37:55 +00:00

26 lines
694 B
Bash

# Template file for 'snappy'
pkgname=snappy
version=1.1.3
revision=2
build_style=gnu-configure
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/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=2f1e82adf0868c9e26a5a7a3115111b6da7e432ddbac268a7ca2fae2a247eef3
post_install() {
vlicense COPYING
}
snappy-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}