aboutsummaryrefslogtreecommitdiffstats
path: root/community/yubico-pam/APKBUILD
blob: 379fbb92988dcca03655554d339fa9dc74767026 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=yubico-pam
pkgver=2.26
pkgrel=1
pkgdesc="Yubico Pluggable Authentication Module (PAM)"
url="https://developers.yubico.com/yubico-pam"
arch="all"
license="BSD-2-Clause"
makedepends="linux-pam-dev yubico-c-dev yubico-c-client-dev ykpers-dev"
options="!check" # need yubikey plugged in on live machine
subpackages="$pkgname-doc"
source="https://developers.yubico.com/yubico-pam/Releases/pam_yubico-$pkgver.tar.gz"
builddir="$srcdir/pam_yubico-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-pam-dir=/lib/security
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4adba37f07e1fe1a2c4b534246ef0e862be76e3b1ce0ed6f11f15436f537cd5963f00abf48f6faa7e65b025ff6924dbaf918db1675b1e2cb89a802d2f2d6a4ec  pam_yubico-2.26.tar.gz"