# Maintainer: Laurent Bercot # Contributor: John Regan setvar pkgname = 's6' setvar pkgver = '2.6.1.0' setvar pkgrel = '0' setvar pkgdesc = ""skarnet.org's small & secure supervision software suite."" setvar url = ""https://skarnet.org/software/$pkgname/"" setvar arch = ""all"" setvar license = ""ISC"" setvar makedepends = ""skalibs-dev execline-dev"" setvar options = ""!check"" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz s6-svscanboot s6.initd"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" setvar install = ""s6.pre-install s6.pre-upgrade"" setvar triggers = ""s6.trigger=/run/service"" proc build { cd $builddir ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --libdir=/usr/lib \ --libexecdir="/lib/$pkgname" \ --with-dynlib=/lib make } proc package { cd $builddir make DESTDIR="$pkgdir" install cp -f "$srcdir/s6-svscanboot" "$pkgdir/lib/s6/s6-svscanboot" mkdir -p "$pkgdir/etc/init.d" cp -f "$srcdir/s6.initd" "$pkgdir/etc/init.d/s6" chmod 0755 "$pkgdir/lib/s6/s6-svscanboot" "$pkgdir/etc/init.d/s6" } proc doc { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } setvar sha512sums = ""e29855cd3c0037d83270318569d2a79a8f616c681cb9c218cfc8c207d9c267cedbb6adc4a6379dbdd29323aef5549810363af08a9fdcc9308d8f6924c12399e6 s6-2.6.1.0.tar.gz 871ca1f86b354b7c63ce1d3bef8794627e176f993144ed67a17d0a069f5ac2164d94aba980711f61ad349dcd4fe2bf928195f2121a75e611c9897d73f1af12a0 s6-svscanboot e7f4fcdc04fc7f72df4419018d048e14f80d50d01ebc284b6d208d6bada3201ca91be0a110930618a26fb0e6bcc1603de01467f6f1dc635c8dcae60f1a0b1b9b s6.initd""