blob: b672953ac3843c6730abae51f827f1926fc2cf20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: Eivind Uggedal <eivind@uggedal.com>
pkgname=s6-rc
pkgver=0.0.3.0
pkgrel=0
pkgdesc="A service manager for s6-based systems."
url="http://skarnet.org/software/$pkgname/"
arch="all"
license="ISC"
depends="skalibs execline s6"
depends_dev="skalibs-dev execline-dev s6-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--enable-shared \
--enable-static \
--disable-allstatic \
--libdir=/usr/lib \
--libexecdir="/lib/$pkgname" \
--with-dynlib=/lib \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
doc() {
default_doc
mkdir -p "$subpkgdir/usr/share/doc"
cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
md5sums="fc7e90c360fece150e2978a44e1663e9 s6-rc-0.0.3.0.tar.gz"
sha256sums="5eb94e77961a075e6305e89e3a5c7e6c95fb7037682d4ea45277c1ab1625892e s6-rc-0.0.3.0.tar.gz"
sha512sums="66fe8cf1937671d3b6c06e7aca40e5b94502ca12a659b50e8120a178295084272091a378e8bbf9f69c560fbc69ca10ffdf08763cbd714ed2411d0d558437e325 s6-rc-0.0.3.0.tar.gz"
|