summaryrefslogtreecommitdiff
blob: 84e5d3f7ed39a48ff537370661c1cc18dedd3462 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpasman/wmpasman-0.8.4.1.ebuild,v 1.7 2006/07/18 08:55:32 s4t4n Exp $

IUSE=""

DESCRIPTION="Password storage/retrieval in a dockapp"
HOMEPAGE="http://sourceforge.net/projects/wmpasman/"
SRC_URI="mirror://sourceforge/wmpasman/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64 ppc ~sparc"

RDEPEND=">=x11-libs/gtk+-2.4.1
	>=app-crypt/mhash-0.9.1
	>=app-crypt/mcrypt-2.6.4"

DEPEND="${RDEPEND}
	>=sys-apps/sed-4"

src_unpack()
{
	unpack ${A}
	cd ${S}

	# Solves compile error about undefined exit - Bug 140857
	sed -i -e '/#include <stdio.h>/ { p ; s/stdio/stdlib/ }' wmgeneral/wmgeneral-gtk.c
}

src_install()
{
	einstall
	dodoc BUGS ChangeLog README TODO WARNINGS
}

pkg_postinst()
{
	ewarn "Please read the WARNINGS file."
}