# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils myP=$(echo ${P} | sed -e "s|_||") DESCRIPTION="This program is a small console tool to manage passwords and store them public key encrypted in a file - even for more than one person. The encryption is handled via GnuPG so you can access the programs data via gpg as well, in case you want to have a look inside. The data is stored as XML so it's even possible to reuse the data for some other purpose." HOMEPAGE="http://www.harry-b.de/dokuwiki/doku.php?id=harry:cpm" SRC_URI="http://www.harry-b.de/downloads/${myP}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=" >=app-crypt/gpgme-1.0.2 dev-libs/cdk dev-libs/dotconf dev-libs/libxml2 sys-devel/gettext sys-libs/cracklib sys-libs/ncurses " S=${WORKDIR}/${myP} src_compile() { local myconf="--with-crack-dict=/usr/lib/cracklib_dict" econf \ ${myconf} || die "econf failed" emake || die "compile problem" } src_install() { make DESTDIR="${D}" install || die "install failed" dodoc -r docs/* insopts -m0644 insinto /usr/share/doc/${PF}/import doins -r import/* insinto /etc newins conf/cpmrc-default cpmrc }