zchunk: add devel subpackage
This commit is contained in:
parent
7c3589fd17
commit
fdaa76e8a0
|
@ -3367,3 +3367,4 @@ libgetdns.so.10 getdns-1.5.0_1
|
||||||
libgetdns_ext_event.so.10 getdns-1.5.0_1
|
libgetdns_ext_event.so.10 getdns-1.5.0_1
|
||||||
libgetdns_ext_ev.so.10 getdns-1.5.0_1
|
libgetdns_ext_ev.so.10 getdns-1.5.0_1
|
||||||
libgetdns_ext_uv.so.10 getdns-1.5.0_1
|
libgetdns_ext_uv.so.10 getdns-1.5.0_1
|
||||||
|
libzck.so.1 zchunk-1.0.2_2
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
zchunk
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'zchunk'
|
# Template file for 'zchunk'
|
||||||
pkgname=zchunk
|
pkgname=zchunk
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libcurl-devel libzstd-devel"
|
makedepends="libcurl-devel libzstd-devel"
|
||||||
short_desc="Compressed file format that splits the file into independent chunks"
|
short_desc="Easy-to-delta, compressed file format"
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/zchunk/zchunk"
|
homepage="https://github.com/zchunk/zchunk"
|
||||||
|
@ -19,7 +19,15 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/include
|
|
||||||
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
zchunk-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="${sourcepkg}-${version}_${revision} libressl-devel libzstd-devel"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue