zstd: refactor into CLI tools and libzstd.

This commit is contained in:
maxice8 2018-03-27 07:55:08 -03:00 committed by Jürgen Buchmüller
parent 7d398f1828
commit dfdad48193
4 changed files with 16 additions and 7 deletions

View File

@ -2650,7 +2650,7 @@ libopenbabel.so.5 openbabel-2.4.1_1
libavogadro.so.1 avogadro-1.2.0_1
libavogadro_OpenQube.so.0 avogadro-1.2.0_1
libcourier-unicode.so.4 courier-unicode-2.0_1
libzstd.so.1 zstd-1.0.0_1
libzstd.so.1 libzstd-1.0.0_1
libudis86.so.0 udis86-devel-1.7.2_3
libsass.so.1 libsass-3.5.0_1
libjbig.so.0 jbigkit-libs-2.1_2

1
srcpkgs/libzstd-devel Symbolic link
View File

@ -0,0 +1 @@
zstd

View File

@ -1,8 +1,8 @@
# Template file for 'zstd'
pkgname=zstd
version=1.3.4
revision=1
short_desc="Fast real-time compression algorithm"
revision=2
short_desc="Fast real-time compression algorithm - CLI tool"
maintainer="Michael Gehring <mg@ebfe.org>"
makedepends="zlib-devel liblzma-devel"
checkdepends="gtest-devel"
@ -29,13 +29,21 @@ do_install() {
vlicense LICENSE
}
zstd-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
libzstd_package() {
short_desc="Fast real-time compression algorithm"
pkg_install() {
vmove "/usr/lib/*.so.*"
}
}
libzstd-devel_package() {
short_desc="Fast real-time compression algorithm - development files"
depends="libzstd-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vlicense LICENSE
}
}