diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-03 22:05:35 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-03 22:05:35 +0200 |
commit | f59ff0cf1b30feac7129085107cab81dbc9294c0 (patch) | |
tree | 91d728726b69c0dd7c868834706e4befd8d3dc9a /games-util/wbfs_file/wbfs_file-2.9-r2.ebuild | |
parent | ba9625d5abf5f62308b2f679cc05ac70a9ea149a (diff) | |
parent | 5d13dbda8f7c8a41475fe3ca17f2202eb0bb9322 (diff) | |
download | overlay-f59ff0cf1b30feac7129085107cab81dbc9294c0.tar.gz overlay-f59ff0cf1b30feac7129085107cab81dbc9294c0.tar.xz overlay-f59ff0cf1b30feac7129085107cab81dbc9294c0.zip |
Merge branch 'master' of ssh://git.animux.de/overlay
Diffstat (limited to '')
-rw-r--r-- | games-util/wbfs_file/wbfs_file-2.9-r2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games-util/wbfs_file/wbfs_file-2.9-r2.ebuild b/games-util/wbfs_file/wbfs_file-2.9-r2.ebuild new file mode 100644 index 0000000..bc48d39 --- /dev/null +++ b/games-util/wbfs_file/wbfs_file-2.9-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="wbfs_file binary for working with wbfs files or partitions" +HOMEPAGE="http://cfg-loader.googlecode.com" +LICENSE="GPL-2" +SLOT="0" + +MY_P="${PN}_${PV}" +SRC_URI="http://cfg-loader.googlecode.com/files/${MY_P}.zip" + +KEYWORDS="~x86 ~amd64" + +IUSE="-static" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/source" + +src_prepare() { + use static || sed -i '/ADD_LF = -static/d' ${S}/Makefile + use amd64 && epatch "${FILESDIR}/64bit_fix.patch" + + sed -i 's/-lcrypto//' ${S}/Makefile + epatch "${FILESDIR}/no-openssl.patch" +} + +src_install() { + dobin wbfs_file + dodoc ../readme.txt + dodoc ../readme_orig.txt +} |