blob: b045b546c4d9738647447ad84858fbe0e3aed47a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/jaffm/jaffm-1.2.1.ebuild,v 1.7 2007/05/07 01:00:14 dirtyepic Exp $
inherit eutils toolchain-funcs wxwidgets
DESCRIPTION="Very lightweight file manager"
HOMEPAGE="http://jaffm.binary.is/"
SRC_URI="http://www.binary.is/download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""
DEPEND="=x11-libs/wxGTK-2.6*"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-wx24.patch
epatch "${FILESDIR}"/${P}-gcc41.patch
WX_GTK_VER="2.6"
need-wxwidgets gtk2
sed -i \
-e "/^CPP=/ s:g++:$(tc-getCXX):" \
-e "/^PREFIX=/ s:/local::" \
-e "s:wx-config:${WX_CONFIG}:g" \
-e "/^FLAGS=/ s:^.*$:FLAGS=${CXXFLAGS}:" \
Makefile
}
src_install() {
dobin jaffm
dodoc README
}
|