aboutsummaryrefslogtreecommitdiffstats
path: root/core/sudo/APKBUILD
blob: 6baa11b610092175b6f1e03c991f1a431e618681 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
pkgver=1.6.9_p17
_myver=1.6.9p17
pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
url="http://www.sudo.ws/sudo/"
license='custom ISC'
depends='uclibc'
backup='etc/sudoers'
source="ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_myver.tar.gz"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/$pkgname-$_myver"

	./configure --prefix=/usr \
		--with-env-editor \
		--without-pam \
		--without-skey \
		--without-offensive-insults \
		|| return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="60daf18f28e2c1eb7641c4408e244110  sudo-1.6.9p17.tar.gz"