blob: 11956e32e29bfb24c7a9c011c4468bf7398cb67a (
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-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="dockapp for checking pop3 accounts"
HOMEPAGE="https://www.dockapps.net/wmpop3"
SRC_URI="https://www.dockapps.net/download/${P/wmpop3/WMPop3}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
IUSE=""
DEPEND="x11-wm/windowmaker
x11-libs/libXpm"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-list.patch
"${FILESDIR}"/${P}-fno-common.patch
)
src_prepare() {
sed -e "s|cc |$(tc-getCC) |" \
-e "s|-O2|${CFLAGS}|" \
-e "s|-o wmpop3|${LDFLAGS} -o wmpop3|" \
-i ${PN}/Makefile || die
default
}
src_compile() {
emake -C wmpop3
}
src_install() {
dobin wmpop3/wmpop3
dodoc CHANGE_LOG README
}
|