summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-01-10 13:13:05 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-01-10 13:13:05 +0000
commitdef28e01ba551b8d556091f1171ace18960ed6ad (patch)
tree7a474beb766d78c49eca1f03a8d29a05a959f588 /sys-auth/pam_pkcs11
parentFix when we don't have firefox3 but we have the xulrunner USE-flag enabled (diff)
downloadgentoo-2-def28e01ba551b8d556091f1171ace18960ed6ad.tar.gz
gentoo-2-def28e01ba551b8d556091f1171ace18960ed6ad.tar.bz2
gentoo-2-def28e01ba551b8d556091f1171ace18960ed6ad.zip
Add pkg-config, bug#205187, cleanups
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'sys-auth/pam_pkcs11')
-rw-r--r--sys-auth/pam_pkcs11/ChangeLog7
-rw-r--r--sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild20
2 files changed, 15 insertions, 12 deletions
diff --git a/sys-auth/pam_pkcs11/ChangeLog b/sys-auth/pam_pkcs11/ChangeLog
index 7e230d343bae..e679412d945d 100644
--- a/sys-auth/pam_pkcs11/ChangeLog
+++ b/sys-auth/pam_pkcs11/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-auth/pam_pkcs11
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pkcs11/ChangeLog,v 1.9 2007/12/21 22:02:41 alonbl Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pkcs11/ChangeLog,v 1.10 2008/01/10 13:13:05 alonbl Exp $
+
+ 10 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> pam_pkcs11-0.6.0-r1.ebuild:
+ Add pkg-config, bug#205187, cleanups
*pam_pkcs11-0.6.0-r1 (21 Dec 2007)
diff --git a/sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild b/sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild
index 0455bc380d3e..1a36aa60a9bf 100644
--- a/sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild
+++ b/sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild,v 1.1 2007/12/21 22:02:41 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pkcs11/pam_pkcs11-0.6.0-r1.ebuild,v 1.2 2008/01/10 13:13:05 alonbl Exp $
-inherit eutils
+inherit multilib
DESCRIPTION="PKCS11 Pam library"
HOMEPAGE="http://www.opensc-project.org/pam_pkcs11"
@@ -13,12 +13,13 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="curl ldap pcsc-lite"
-DEPEND="
- sys-libs/pam
+RDEPEND="sys-libs/pam
+ dev-libs/openssl
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
- pcsc-lite? ( sys-apps/pcsc-lite )
- dev-libs/openssl"
+ pcsc-lite? ( sys-apps/pcsc-lite )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
src_compile() {
econf \
@@ -26,15 +27,14 @@ src_compile() {
$(use_with pcsc-lite) \
$(use_with ldap) \
|| die "econf failed"
-
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "install failed"
- dodir /lib/security
- dosym ../../usr/lib/security/pam_pkcs11.so /lib/security/
+ dodir /$(get_libdir)/security
+ dosym ../../usr/$(get_libdir)/security/pam_pkcs11.so /$(get_libdir)/security/
dodoc NEWS README
}