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

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
	}
}
