jtc-overlay/games-util/wit/wit-3.0a.ebuild

45 lines
766 B
Bash
Raw Permalink Normal View History

2022-08-30 19:46:53 +00:00
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PV="v${PV}-r7464"
DESCRIPTION=""
HOMEPAGE="https://wit.wiimm.de"
SRC_URI="amd64? ( https://wit.wiimm.de/download/${PN}-${MY_PV}-x86_64.tar.gz )
x86? ( https://wit.wiimm.de/download/${PN}-${MY_PV}-i386.tar.gz ) "
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
use amd64 && mv "${WORKDIR}/${PN}-${MY_PV}-x86_64" "${S}"
use x86 && mv "${WORKDIR}/${PN}-${MY_PV}-i386" "${S}"
}
src_prepare() {
epatch "${FILESDIR}/${P}-install.patch"
}
src_configure() {
true
}
src_compile() {
true
}
src_install() {
cd "${S}"
PREFIX="${D}" ./install.sh --no-sudo
}