# Template file for 'lz4'
pkgname=lz4
version=122
revision=1
build_style=gnu-makefile
wrksrc=${pkgname}-r${version}
short_desc="Extremely fast compression algorithm"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://code.google.com/p/lz4/"
license="2-clause-BSD, GPL-2"
distfiles="https://github.com/Cyan4973/${pkgname}/archive/r${version}.tar.gz"
checksum=2111d9fab99ef37e2a526c8763d07ed38f4fe7990b4676d587c049c89d66752c

lz4-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
