summaryrefslogtreecommitdiff
path: root/repo/oath-toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'repo/oath-toolkit')
-rw-r--r--repo/oath-toolkit/oath-toolkit.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/oath-toolkit/oath-toolkit.xibuild b/repo/oath-toolkit/oath-toolkit.xibuild
new file mode 100644
index 0000000..e5c77e0
--- /dev/null
+++ b/repo/oath-toolkit/oath-toolkit.xibuild
@@ -0,0 +1,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
+}