summaryrefslogtreecommitdiff
blob: 9887264ef0553c9f75630e932530d539a6271636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/pms/pms-0.94.ebuild,v 1.2 2003/06/16 16:37:58 rphillips Exp $

S=${WORKDIR}/${P}
IUSE="ncurses"
DESCRIPTION="Passwort Management System"
SRC_URI="mirror://sourceforge/passwordms/${P}.tar.gz"
HOMEPAGE="http://passwordms.sourceforge.net/"
LICENSE="LGPL-2.1"
KEYWORDS="~x86"

SLOT="0"

DEPEND="sys-libs/ncurses
		dev-libs/cdk"

RDEPEND=""

src_unpack() {
	unpack ${A}
	cd ${S}
	patch pms/ui.c ${FILESDIR}/ui.diff
}

src_compile() {
	econf || die "econf failed"
	emake || die "emake failed."
}

src_install() {

	install -d ${D}/usr/bin && \
	install ${S}/bin/pms ${D}/usr/bin && \
	install ${S}/bin/pms_export ${D}/usr/bin && \
	install ${S}/bin/pms_import ${D}/usr/bin && \
	install ${S}/bin/pms_passwd ${D}/usr/bin || die

	dodoc AUTHORS COPYING ChangeLog \
		README TODO
}