diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-08 18:21:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-08 18:21:42 +0000 |
commit | 8692416cdaddf3d83eecdbda2860c8e752757b7c (patch) | |
tree | 6e026ea027a7bb443af0900499b1d480328b1028 /sys-auth | |
parent | initial version; #103126 (diff) | |
download | gentoo-2-8692416cdaddf3d83eecdbda2860c8e752757b7c.tar.gz gentoo-2-8692416cdaddf3d83eecdbda2860c8e752757b7c.tar.bz2 gentoo-2-8692416cdaddf3d83eecdbda2860c8e752757b7c.zip |
Make kernel check a warning and use emake in src_install.
(Portage version: 2.1.3.7)
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/thinkfinger/ChangeLog | 5 | ||||
-rw-r--r-- | sys-auth/thinkfinger/thinkfinger-0.3.ebuild | 27 |
2 files changed, 19 insertions, 13 deletions
diff --git a/sys-auth/thinkfinger/ChangeLog b/sys-auth/thinkfinger/ChangeLog index 9ce3e92bc7a9..ad2f90407d24 100644 --- a/sys-auth/thinkfinger/ChangeLog +++ b/sys-auth/thinkfinger/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-auth/thinkfinger # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.5 2007/04/11 16:59:35 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.6 2007/09/08 18:21:42 vapier Exp $ + + 08 Sep 2007; Mike Frysinger <vapier@gentoo.org> thinkfinger-0.3.ebuild: + Make kernel check a warning and use emake in src_install. *thinkfinger-0.3 (11 Apr 2007) diff --git a/sys-auth/thinkfinger/thinkfinger-0.3.ebuild b/sys-auth/thinkfinger/thinkfinger-0.3.ebuild index ff7bd492d447..bcb7ccc42a53 100644 --- a/sys-auth/thinkfinger/thinkfinger-0.3.ebuild +++ b/sys-auth/thinkfinger/thinkfinger-0.3.ebuild @@ -1,12 +1,17 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3.ebuild,v 1.1 2007/04/11 16:59:35 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3.ebuild,v 1.2 2007/09/08 18:21:42 vapier Exp $ inherit pam linux-info DESCRIPTION="Support for the UPEK/SGS Thomson Microelectronics fingerprint reader, often seen in Thinkpads" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://thinkfinger.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug pam" RDEPEND=">=dev-libs/libusb-0.1.12 pam? ( virtual/pam )" @@ -14,17 +19,15 @@ DEPEND="${RDEPEND} sys-devel/libtool >=dev-util/pkgconfig-0.9.0" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug pam" - -src_compile() { - if useq pam; then - CONFIG_CHECK="INPUT_UINPUT" +pkg_setup() { + if use pam ; then + CONFIG_CHECK="~INPUT_UINPUT" ERROR_CFG="Your kernel needs uinput for the pam module to work" check_extra_config fi +} + +src_compile() { econf \ $(use_enable pam) \ $(use_enable debug usb-debug) \ @@ -34,7 +37,7 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die keepdir /etc/pam_thinkfinger dodoc AUTHORS ChangeLog NEWS README } @@ -43,7 +46,7 @@ pkg_postinst() { elog "Use tf-tool --acquire to take a finger print" elog "tf-tool will write the finger print file to /tmp/test.bir" elog "" - if useq pam ; then + if use pam ; then elog "To add a fingerprint to PAM, use tf-tool --add-user USERNAME" elog "" elog "Add the following to /etc/pam.d/system-auth after pam_env.so" |