| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-696.ebuild,v 1.1 2011/09/22 12:48:28 scarabeus Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
if [[ ${PV} == "99999999" ]] ; then
|
| 8 |
ESVN_REPO_URI="http://winetricks.googlecode.com/svn/trunk"
|
| 9 |
inherit subversion
|
| 10 |
else
|
| 11 |
SRC_URI="http://winetricks.googlecode.com/svn-history/r${PV}/trunk/src/winetricks -> ${P}
|
| 12 |
http://winetricks.googlecode.com/svn-history/r${PV}/trunk/src/winetricks.1 -> ${P}.1"
|
| 13 |
KEYWORDS="~amd64 ~x86"
|
| 14 |
fi
|
| 15 |
|
| 16 |
DESCRIPTION="easy way to install DLLs needed to work around problems in Wine"
|
| 17 |
HOMEPAGE="http://code.google.com/p/winetricks/ http://wiki.winehq.org/winetricks"
|
| 18 |
|
| 19 |
LICENSE="LGPL-2.1"
|
| 20 |
SLOT="0"
|
| 21 |
IUSE="gtk kde"
|
| 22 |
|
| 23 |
DEPEND=""
|
| 24 |
RDEPEND="app-emulation/wine
|
| 25 |
gtk? ( gnome-extra/zenity )
|
| 26 |
kde? ( kde-base/kdialog )"
|
| 27 |
|
| 28 |
S="${WORKDIR}"
|
| 29 |
|
| 30 |
src_unpack() {
|
| 31 |
if [[ ${PV} == "99999999" ]] ; then
|
| 32 |
subversion_src_unpack
|
| 33 |
else
|
| 34 |
mkdir src
|
| 35 |
cp "${DISTDIR}"/${P} src/${PN} || die
|
| 36 |
cp "${DISTDIR}"/${P}.1 src/${PN}.1 || die
|
| 37 |
fi
|
| 38 |
}
|
| 39 |
|
| 40 |
src_install() {
|
| 41 |
cd src
|
| 42 |
dobin ${PN}
|
| 43 |
doman ${PN}.1
|
| 44 |
}
|