26 lines
694 B
Bash
26 lines
694 B
Bash
# Template file for 'snappy'
|
|
pkgname=snappy
|
|
version=1.1.4
|
|
revision=1
|
|
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=134bfe122fd25599bb807bb8130e7ba6d9bdb851e0b16efcb83ac4f5d0b70057
|
|
|
|
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"
|
|
}
|
|
}
|