aboutsummaryrefslogtreecommitdiffstats
path: root/community/jailkit/APKBUILD
blob: 71e94646fe84fc8475a90763f4a1027c744a8698 (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
# Contributor: Dean Takemori <deant@hawaii.rr.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=jailkit
pkgver=2.20
pkgrel=0
pkgdesc="Utilities for chroot jailing a user or process."
url="http://olivier.sessink.nl/jailkit"
arch="all"
license="custom"
depends="python2"
options="suid"
makedepends=""
install="$pkgname.post-install $pkgname.post-deinstall"
subpackages="$pkgname-doc"
source="http://olivier.sessink.nl/jailkit/jailkit-$pkgver.tar.bz2
	Makefile.in.patch"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="1d025665a5f139fbb4065a91a032a9b75a3318da06bc9077f4ab4b1f7b4bbda2b3d03bbc3024f086c2df45b1572183ff591725ac7c50c2498618869fa81bdf08  jailkit-2.20.tar.bz2
332c5260772d39a676d9d62da614706c1be7771d2ad5620e3de228380b1c62cba40eb8aec0feb817135d68c9438aa9685dc532bf15a2433ed2886d6551e14558  Makefile.in.patch"