void-packages/srcpkgs/snappy/template

22 lines
626 B
Bash

# Template file for 'snappy'
pkgname=snappy
version=1.1.1
revision=3
build_style=gnu-configure
makedepends="zlib-devel lzo-devel"
short_desc="A fast compressor/decompressor library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://code.google.com/p/snappy/"
license="BSD"
distfiles="http://snappy.googlecode.com/files/snappy-${version}.tar.gz"
checksum=d79f04a41b0b513a014042a4365ec999a1ad5575e10d5e5578720010cb62fab3
snappy-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}