You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
925 B
46 lines
925 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils pam autotools autotools-utils
|
|
|
|
MY_P="${P/_beta/beta}"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
DESCRIPTION="pam module to allow password-storing in \$HOME/dotfiles"
|
|
HOMEPAGE="http://0pointer.de/lennart/projects/pam_dotfile/
|
|
https://github.com/gentoo/pam_dotfile/"
|
|
SRC_URI="http://0pointer.de/lennart/projects/pam_dotfile/${MY_P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="sys-libs/pam"
|
|
DEPEND="${RDEPEND}
|
|
doc? ( www-client/lynx )"
|
|
|
|
HTML_DOCS="doc"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-gentoo.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
local myeconfargs=(
|
|
$(use_enable doc lynx)
|
|
--with-pammoddir=$(getpam_mod_dir)
|
|
)
|
|
autotools-utils_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
autotools-utils_src_install
|
|
|
|
# kill the libtool archives
|
|
rm -rf "${D}"/$(getpam_mod_dir)/*.la
|
|
}
|