diff --git a/srcpkgs/snappy/template b/srcpkgs/snappy/template index 71a00d617e7..030aaf5513f 100644 --- a/srcpkgs/snappy/template +++ b/srcpkgs/snappy/template @@ -1,21 +1,17 @@ # Template file for 'snappy' pkgname=snappy -version=1.1.6 +version=1.1.7 revision=1 -build_style=gnu-configure -hostmakedepends="automake libtool pkg-config" +build_style=cmake +configure_args="-DBUILD_SHARED_LIBS=1" +hostmakedepends="libtool pkg-config" makedepends="zlib-devel lzo-devel" short_desc="A fast compressor/decompressor library" maintainer="Juan RP " homepage="https://google.github.io/snappy" license="BSD" distfiles="https://github.com/google/snappy/archive/${version}.tar.gz" -checksum=6fa92cde5b2caefd0d9a60336991ba42e5a7ddc3bdc36c5610451373751d0495 - -pre_configure() { - autoreconf -fi - ln -s README.md README -} +checksum=3dfa02e873ff51a11ee02b9ca391807f0c8ea0529a4924afa645fbf97163f9d4 post_install() { vlicense COPYING @@ -26,8 +22,7 @@ snappy-devel_package() { short_desc+=" - development files" pkg_install() { vmove usr/include - vmove usr/lib/pkgconfig - vmove "usr/lib/*.a" - vmove "usr/lib/*.so" + vmove usr/lib/cmake + vmove usr/lib/*.so } }