mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
30 lines
863 B
Bash
30 lines
863 B
Bash
# Template file for 'libucontext'
|
|
pkgname=libucontext
|
|
version=1.3.2
|
|
revision=1
|
|
archs="*-musl"
|
|
build_style=meson
|
|
configure_args="-Ddocs=true"
|
|
hostmakedepends="pkg-config scdoc"
|
|
short_desc="Compatibility layer providing ucontext functions"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://github.com/kaniini/libucontext"
|
|
changelog="https://raw.githubusercontent.com/kaniini/libucontext/master/NEWS"
|
|
distfiles="https://github.com/kaniini/libucontext/archive/refs/tags/libucontext-${version}.tar.gz"
|
|
checksum=4faf1838a15d61efe27ddac24fded2c290929eb3a1fefc72f952ae96d5bda006
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libucontext-devel_package() {
|
|
depends="libucontext>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|