33 lines
930 B
Bash
33 lines
930 B
Bash
# Template file for 'libslirp'
|
|
pkgname=libslirp
|
|
version=4.7.0
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel"
|
|
short_desc="User-mode networking library used by VMs and containers"
|
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://gitlab.freedesktop.org/slirp/libslirp"
|
|
changelog="https://gitlab.freedesktop.org/slirp/libslirp/-/blob/master/CHANGELOG.md"
|
|
distfiles="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz"
|
|
checksum=9398f0ec5a581d4e1cd6856b88ae83927e458d643788c3391a39e61b75db3d3b
|
|
|
|
pre_configure() {
|
|
printf '%s\n' "${version}" > .tarball-version
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYRIGHT
|
|
}
|
|
|
|
libslirp-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|