aboutsummaryrefslogtreecommitdiffstats
path: root/core/sudo/APKBUILD
blob: 6d4b46ab0da4cc3e214254f9bc85096709a077e4 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
pkgver=1.7.1
pkgrel=0
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-$pkgver.tar.gz"
subpackages="$pkgname-doc"

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

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

md5sums="af672524b2c854a67612bf4c743f58b8  sudo-1.7.1.tar.gz"