summaryrefslogtreecommitdiff
blob: 61f2a9c0e74517140a36ccd7a093f70f30fd6532 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpop3/wmpop3-0.5.6a.ebuild,v 1.14 2010/09/02 10:44:28 s4t4n Exp $

DESCRIPTION="dockapp for checking pop3 accounts"
HOMEPAGE="http://www.cs.mun.ca/~scotth/"
SRC_URI="http://www.cs.mun.ca/~scotth/download/${P/wmpop3/WMPop3}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
IUSE=""
DEPEND="x11-wm/windowmaker
	>=sys-apps/sed-4
	x11-libs/libXpm"

src_unpack() {
	unpack ${A}
	cd "${S}"/wmpop3
	sed -i -e "s:-O2:${CFLAGS}:" Makefile
	sed -i -e "s:-o wmpop3:${LDFLAGS} -o wmpop3:" Makefile
}

src_compile() {
	emake -C wmpop3 || die
}

src_install() {
	dobin wmpop3/wmpop3
	dodoc CHANGE_LOG README
}