void-packages/srcpkgs/snappy/template

29 lines
677 B
Text
Raw Normal View History

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