diff options
Diffstat (limited to 'app-admin/pwgen/pwgen-2.06-r1.ebuild')
-rw-r--r-- | app-admin/pwgen/pwgen-2.06-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-admin/pwgen/pwgen-2.06-r1.ebuild b/app-admin/pwgen/pwgen-2.06-r1.ebuild new file mode 100644 index 000000000000..fef8d2cbd4ac --- /dev/null +++ b/app-admin/pwgen/pwgen-2.06-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.06-r1.ebuild,v 1.1 2010/02/01 23:15:09 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="Password Generator" +HOMEPAGE="http://sourceforge.net/projects/pwgen/" +SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="livecd" + +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-special-char.patch + sed -i -e 's:$(prefix)/man/man1:$(mandir)/man1:g' Makefile.in +} + +src_configure() { + tc-export CC + econf --sysconfdir=${EPREFIX}/etc/pwgen +} + +src_install() { + emake DESTDIR="${D}" install || die + use livecd && newinitd "${FILESDIR}"/pwgen.rc pwgen +} |