You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-util/wit/wit-2.31a.ebuild

39 lines
861 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="A set of command line tools to manipulate Wii/GameCube ISO images and WBFS containers"
HOMEPAGE="http://wit.wiimm.de/"
SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+fuse +zlib"
RDEPEND="
app-arch/bzip2
fuse? ( sys-fs/fuse )
zlib? ( sys-libs/zlib )
"
DEPEND="${RDEPEND}"
DOCS="doc/*.txt"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.30a-makefile.patch
epatch "${FILESDIR}"/${PN}-2.30a-no-exec-stack.patch
epatch "${FILESDIR}"/${PN}-2.30a-sizeof-pointer-memaccess.patch
}
src_compile() {
export NO_FUSE=$(usex fuse 0 1)
export NO_ZLIB=$(usex zlib 0 1)
emake INSTALL_PATH="${D}"/usr CC="$(tc-getCC)"
emake doc
}