name : openzl version : 0.1.0 release : 2 source : - https://github.com/facebook/openzl/archive/refs/tags/v0.1.0.tar.gz : 3278546dcdbae3aef3887f07b435ebe0aa9f6943a5ac74cf9b7baeefe6526c2e homepage : https://openzl.org/ license : BSD-3-Clause component : programming.library summary : OpenZL delivers high compression ratios while preserving high speed, a level of performance that is out of reach for generic compressors. description: | OpenZL delivers high compression ratios while preserving high speed, a level of performance that is out of reach for generic compressors. networking : yes setup : | %apply_patches %cmake_ninja \ -DCMAKE_BUILD_TYPE=Release \ -DOPENZL_BUILD_TESTS=OFF build : | make zli lib install : | install -Dm755 zli "${installdir}/usr/bin/zli" install -Dm755 libopenzl.so.0.1.0 "${installdir}/usr/lib/libopenzl.so.0.1.0" ln -svf libopenzl.so.0.1.0 "${installdir}/usr/lib/libopenzl.so.0" ln -svf libopenzl.so.0 "${installdir}/usr/lib/libopenzl.so" cp -rv include "${installdir}/usr" cp -rv cpp/include "${installdir}/usr" install -Dm644 $pkgfiles/openzl.pc -t $installdir/usr/lib/pkgconfig