mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 07:52:26 +01:00
39 lines
1017 B
Plaintext
39 lines
1017 B
Plaintext
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
|
|
# Contributor: Laurent Bercot <ska-devel@skarnet.org>
|
|
pkgname=s6-linux-init
|
|
pkgver=1.0.6.3
|
|
pkgrel=0
|
|
pkgdesc="Set of tools to create and run an s6-based init system"
|
|
url="http://skarnet.org/software/$pkgname/"
|
|
arch="all"
|
|
license="ISC"
|
|
options="!check"
|
|
makedepends="skalibs-dev execline-dev s6-dev linux-headers"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
source="https://skarnet.org/software/s6-linux-init/s6-linux-init-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--enable-shared \
|
|
--enable-static \
|
|
--disable-allstatic \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib \
|
|
--skeldir=/etc/s6-linux-init/skel
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
doc() {
|
|
default_doc
|
|
mkdir -p "$subpkgdir"/usr/share/doc
|
|
cp -a "$builddir"/doc "$subpkgdir"/usr/share/doc/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
6f8f91e47edbd1426b3f3283b28bdc1872909e2c6eef42f2a1894ac015a9cec6797b438ceac519b285f84f5fda81886963065a88247b341aa13eaa2054038d9f s6-linux-init-1.0.6.3.tar.gz
|
|
"
|