summaryrefslogtreecommitdiff
blob: b481d06a062f48ed56723f3e6371760609dd3ccb (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/linux-wbfs-manager/linux-wbfs-manager-0.1.10.ebuild,v 1.2 2009/09/02 11:38:02 vapier Exp $

EAPI="2"

inherit toolchain-funcs

DESCRIPTION="WBFS manager for Linux using GTK+"
HOMEPAGE="http://code.google.com/p/linux-wbfs-manager/"
SRC_URI="http://linux-wbfs-manager.googlecode.com/files/${P}.tar.gz"

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

DEPEND="dev-libs/glib:2
	gnome-base/libglade:2.0"

S=${WORKDIR}/${PN}

src_prepare() {
	sed -i \
		-e '/^CFLAGS/s:= -O2:+= $(CPPFLAGS):' \
		-e '/^LDFLAGS/d' \
		Makefile
}

src_compile() {
	emake CC="$(tc-getCC)" || die
}

src_install() {
	dobin wbfs_gtk || die
	dodoc README
}