mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 23:06:40 +02:00
48 lines
1 KiB
Text
48 lines
1 KiB
Text
# Contributor: Angelo Verlain <hey@vixalien.com>
|
|
maintainer="Angelo Verlain <hey@vixalien.com>"
|
|
pkgname=66
|
|
pkgver=0.8.0.2
|
|
pkgrel=0
|
|
pkgdesc="a service manager around S6 supervision suite"
|
|
url="https://web.obarun.org/software"
|
|
arch="all"
|
|
license="0BSD"
|
|
makedepends="
|
|
clang
|
|
execline-dev
|
|
linux-headers
|
|
lowdown
|
|
oblibs-dev
|
|
s6-dev
|
|
skalibs-dev
|
|
"
|
|
depends="s6"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-init"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.obarun.org/Obarun/66/-/archive/$pkgver/66-$pkgver.tar.gz"
|
|
options="!check"
|
|
install="66.pre-install 66.pre-upgrade"
|
|
|
|
build() {
|
|
CC=clang ./configure \
|
|
--enable-static \
|
|
--prefix=/usr \
|
|
--with-s6-log-timestamp=iso \
|
|
--with-s6-log-user=catchlog
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
init() {
|
|
pkgdesc="$pkgdesc (init script)"
|
|
depends="$pkgname"
|
|
|
|
mkdir -p "$subpkgdir"/sbin
|
|
mv "$pkgdir"/usr/bin/init "$subpkgdir"/sbin/init
|
|
}
|
|
|
|
sha512sums="
|
|
f8246fe656c57024c2bfaf11bd7a0f6f86147d017bb832ffbdcb738435569e51a63c80251ead22f7e49a2be1ea0e11759754f4651e8fcec554f8c95e3b834de7 66-0.8.0.2.tar.gz
|
|
"
|