summaryrefslogblamecommitdiff
path: root/system/s6-rc/APKBUILD
blob: 6fbcf44e1b328c56fdd19664ebd07a97b50d0bc2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                      

              
                                                             
                                         


                

                     
                  

                                                                 
                                                     


                                                                      











                                              
                                      

                                                              

 
                                                                                                                                                                   
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6-rc
pkgver=0.5.4.3
pkgrel=0
pkgdesc="skarnet.org's service manager, working on top of s6"
url="https://skarnet.org/software/s6-rc/"
arch="all"
options="!check"
license="ISC"
_skalibs_version=2.14
_s6_version=2.12
depends="execline"
depends_dev="skalibs-dev>=$_skalibs_version s6-dev>=$_s6_version"
makedepends="$depends_dev execline-dev"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--enable-shared \
		--enable-static \
		--enable-allstatic \
		--enable-static-libc \
		--libdir=/usr/lib \
		--libexecdir="/lib/$pkgname" \
		--with-dynlib=/lib
	make
}

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p -m 0755 "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="7a54a32ea1261de79b9494adde74b50dbefce831f5a00f9d3772c9b64fd71918ce54a16dff828de0fb762633255226ca935357f9f31c4264716b7041a5f5f8bb  s6-rc-0.5.4.3.tar.gz"