blob: e5c77e006f736efdd85a1452f8ebbe6b28169603 (
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
|
#!/bin/sh
NAME="oath-toolkit"
DESC="OATH Toolkit One-time password components"
MAKEDEPS="pam libxml2 xmlsec autoconf automake libtool gtk2"
PKG_VER=2.6.7
SOURCE="https://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-$PKG_VER.tar.gz"
prepare() {
autoreconf --force --install
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make DESTDIR="$PKG_DEST" install
}
|