summaryrefslogblamecommitdiff
path: root/system/s6/APKBUILD
blob: 52c462154c66d8f7b8e05a106a6e23b0c583fc6c (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
pkgver=2.13.0.0
pkgrel=0
pkgdesc="skarnet.org's small & secure supervision software suite"
url="https://skarnet.org/software/s6/"
arch="all"
options="!check"  # No test suite.
license="ISC"
_skalibs_version=2.14.1
depends="execline"
depends_dev="skalibs-dev>=$_skalibs_version"
makedepends="$depends_dev execline-dev"
install="$pkgname.post-upgrade"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
triggers="$pkgname.trigger=/run/service"
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/var/lib/s6/services" "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="b54d334496d79d1b845552f5e7763c536d6f253c9bb2d61802695ea1a596af918562daa230f09f4cbfc06614eff70930d0963439d7d84ec8ae0388291912ca9d  s6-2.13.0.0.tar.gz"