mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-02 20:31:17 +02:00
testing/libslirp: new aport
This commit is contained in:
parent
6ba9368ed9
commit
7e023bc7da
29
testing/libslirp/APKBUILD
Normal file
29
testing/libslirp/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Contributor: Michał Polański <michal@polanski.me>
|
||||
# Maintainer: Michał Polański <michal@polanski.me>
|
||||
pkgname=libslirp
|
||||
pkgver=4.2.0
|
||||
pkgrel=0
|
||||
pkgdesc="A general purpose TCP-IP emulator"
|
||||
url="https://gitlab.freedesktop.org/slirp/libslirp"
|
||||
arch="all"
|
||||
license="BSD-3-Clause"
|
||||
makedepends="meson glib-dev"
|
||||
subpackages="$pkgname-dev"
|
||||
options="!check" # no test suite
|
||||
source="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v$pkgver/libslirp-v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-v$pkgver"
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--buildtype=plain \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
}
|
||||
|
||||
sha512sums="514744ac8325857915b9946a76f4a55d48c8361b6167cd69c533086928ae06f059d923c5f057e92a0915921bb363b69d34a939a0bcc28233515125a5d1858d25 libslirp-v4.2.0.tar.gz"
|
Loading…
x
Reference in New Issue
Block a user