mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/ruri: new aport
This commit is contained in:
parent
bc05d68569
commit
105aad165b
1 changed files with 35 additions and 0 deletions
35
testing/ruri/APKBUILD
Normal file
35
testing/ruri/APKBUILD
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Maintainer: dabao1955 <dabao1955@163.com>
|
||||||
|
pkgname=ruri
|
||||||
|
pkgver=3.8
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="A self-contained Linux container implementation"
|
||||||
|
url="https://github.com/Moe-Hacker/ruri"
|
||||||
|
arch="all"
|
||||||
|
license="MIT"
|
||||||
|
options="!check" # Upstream have test but can not run in docker enviroment.
|
||||||
|
makedepends="
|
||||||
|
libcap-dev
|
||||||
|
libseccomp-dev
|
||||||
|
"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Moe-hacker/ruri/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
./configure \
|
||||||
|
--build=$CBUILD \
|
||||||
|
--host=$CHOST \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--localstatedir=/var
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 ruri -t "$pkgdir"/usr/bin/
|
||||||
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
f563ec713a4b85d89ebc779f7ea1ad09ce74312793e8478d63336b204b3b9414789869b15cce539fc6bc08c8f3d7bd1ae884a7cd3b063251a7024093c4a11680 ruri-3.8.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue