blob: 758751c2ae56720385cdf31752b476930b6a7864 (
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
|
# Contributor: Christian Kampka <christian@kampka.net>
# Maintainer: Christian Kampka <christian@kampka.net>
pkgname=s6-linux-utils
pkgver=2.0.2.1
pkgrel=0
pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size."
url="http://skarnet.org/software/$pkgname/"
arch="all"
license="ISC"
depends="skalibs"
depends_dev="skalibs-dev"
makedepends="$depends_dev linux-headers"
install=""
subpackages="$pkgname-dev"
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 \
--build=$CBUILD \
--host=$CHOST \
--enable-shared \
--enable-static \
--disable-allstatic \
--prefix=/usr \
--libdir=/usr/lib \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="369c46737b2fd96e6843a08f1114702d s6-linux-utils-2.0.2.1.tar.gz"
sha256sums="d8424101c9ebb44391567b5a230395877d657b5baaa7da8e19c03b596ebcaf00 s6-linux-utils-2.0.2.1.tar.gz"
sha512sums="95b353a30b2ebce76358e01939712826e8a51f10a57b50c67e02c0d2e82ccd461b5d00a0cc78c855b946722cc28a90f20593404c1e4400cc64f2379794a016a8 s6-linux-utils-2.0.2.1.tar.gz"
|