| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-util/linux-wbfs-manager/linux-wbfs-manager-9999.ebuild,v 1.1 2009/11/11 19:28:17 mr_bones_ Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
if [[ "${PV}" == "9999" ]]; then
|
| 7 |
ESVN_REPO_URI="http://linux-wbfs-manager.googlecode.com/svn/trunk/"
|
| 8 |
inherit toolchain-funcs subversion
|
| 9 |
SRC_URI=""
|
| 10 |
#KEYWORDS=""
|
| 11 |
else
|
| 12 |
inherit toolchain-funcs
|
| 13 |
SRC_URI="http://linux-wbfs-manager.googlecode.com/files/${P}.tar.gz"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
fi;
|
| 16 |
|
| 17 |
DESCRIPTION="WBFS manager for Linux using GTK+"
|
| 18 |
HOMEPAGE="http://code.google.com/p/linux-wbfs-manager/"
|
| 19 |
|
| 20 |
LICENSE="GPL-2"
|
| 21 |
SLOT="0"
|
| 22 |
IUSE=""
|
| 23 |
|
| 24 |
DEPEND="dev-libs/glib:2
|
| 25 |
gnome-base/libglade:2.0"
|
| 26 |
|
| 27 |
if [[ ${PV} == "9999" ]] ; then
|
| 28 |
S=${WORKDIR}/${ECVS_MODULE}
|
| 29 |
else
|
| 30 |
S=${WORKDIR}/${PN}
|
| 31 |
fi
|
| 32 |
|
| 33 |
src_unpack() {
|
| 34 |
if [[ ${PV} == "9999" ]]; then
|
| 35 |
subversion_src_unpack
|
| 36 |
else
|
| 37 |
unpack ${A}
|
| 38 |
fi
|
| 39 |
}
|
| 40 |
|
| 41 |
src_compile() {
|
| 42 |
emake CC="$(tc-getCC)" || die
|
| 43 |
}
|
| 44 |
|
| 45 |
src_install() {
|
| 46 |
dobin wbfs_gtk || die
|
| 47 |
dodoc README
|
| 48 |
}
|