blob: 302fc19931ec2e176a81ac39ba72e519ed6bd1d4 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/grpn/grpn-1.1.2-r1.ebuild,v 1.1 2007/08/18 16:21:49 drac Exp $
inherit eutils toolchain-funcs
DESCRIPTION="GRPN is a Reverse Polish Notation calculator for X"
HOMEPAGE="http://lashwhip.com/grpn.html"
SRC_URI="http://lashwhip.com/grpn/${P}.tar.gz"
RDEPEND="=x11-libs/gtk+-1.2*"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~hppa ~ppc ~sparc ~x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-implicit-declarations.patch
}
src_compile() {
emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+) -DGTK_VER_1_1" \
CC="$(tc-getCC)" || die "emake failed."
}
src_install () {
dobin grpn
doman grpn.1
dodoc CHANGES README
}
|