summaryrefslogtreecommitdiffstats
path: root/packages/sys-apps/thinkfinger/thinkfinger.exlib
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-apps/thinkfinger/thinkfinger.exlib')
-rw-r--r--packages/sys-apps/thinkfinger/thinkfinger.exlib36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/sys-apps/thinkfinger/thinkfinger.exlib b/packages/sys-apps/thinkfinger/thinkfinger.exlib
new file mode 100644
index 0000000..a361946
--- /dev/null
+++ b/packages/sys-apps/thinkfinger/thinkfinger.exlib
@@ -0,0 +1,36 @@
+# Copyright 2011 Quentin "Sardem FF7" Glidic <sardemff7+exherbo@sardemff7.net>
+# Distributed under the terms of the GNU General Public License v2
+
+require sourceforge [ suffix=tar.gz ] bash-completion autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.11 ] ] pam
+
+
+
+SLOT="0"
+
+LICENCES="GPL-2"
+
+SUMMARY="A driver for the SGS Thomson Microelectronics fingerprint reader"
+
+DEPENDENCIES="
+ build+run:
+ sys-libs/pam
+ dev-libs/libusb[>=0.1.11]
+"
+
+MYOPTIONS=""
+
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --with-securedir="$(getpam_mod_dir)"
+)
+
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
+ 'bash-completion bash'
+)
+
+src_prepare() {
+ edo sed -i \
+ -e '/^pam_thinkfinger_so_LDFLAGS/s|--strip-all ||' \
+ pam/Makefile.am
+ autotools_src_prepare
+}