1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="A set of command line tools to manipulate Wii/GameCube ISO images and WBFS containers"
10 HOMEPAGE="http://wit.wiimm.de/"
11 SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz"
15 KEYWORDS="~amd64 ~x86"
21 zlib? ( sys-libs/zlib )
28 epatch "${FILESDIR}"/${PN}-2.30a-makefile.patch
29 epatch "${FILESDIR}"/${PN}-2.30a-no-exec-stack.patch
30 epatch "${FILESDIR}"/${PN}-2.30a-sizeof-pointer-memaccess.patch
34 export NO_FUSE=$(usex fuse 0 1)
35 export NO_ZLIB=$(usex zlib 0 1)
37 emake INSTALL_PATH="${D}"/usr CC="$(tc-getCC)"