diff options
-rw-r--r-- | games-util/wbfs_file/Manifest | 2 | ||||
-rw-r--r-- | games-util/wbfs_file/wbfs_file-2.9.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/games-util/wbfs_file/Manifest b/games-util/wbfs_file/Manifest new file mode 100644 index 0000000..48a83e4 --- /dev/null +++ b/games-util/wbfs_file/Manifest @@ -0,0 +1,2 @@ +DIST wbfs_file_2.9.zip 687419 RMD160 50aac97941e27917ac3ada763eb3b30b5924118e SHA1 e7b0c9ffe577cb920d3b43f2e7f0134d5e5556d9 SHA256 2a3973c907dc35398047dbf748863191514f4d2c64423449729c7d36f1b8b838 +EBUILD wbfs_file-2.9.ebuild 686 RMD160 02aba682be46cfd520eeecfd754fe8d44c7d885a SHA1 f3d54319bcab5d6d1d7f08c701efcc412d64dd86 SHA256 08421c0292d356c8428db4a9d2d5b64e16ba9c57b2ffccbd5b2b0d700df6ed58 diff --git a/games-util/wbfs_file/wbfs_file-2.9.ebuild b/games-util/wbfs_file/wbfs_file-2.9.ebuild new file mode 100644 index 0000000..f79d7e3 --- /dev/null +++ b/games-util/wbfs_file/wbfs_file-2.9.ebuild @@ -0,0 +1,36 @@ +# 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="~amd64" + +IUSE="-static" + +DEPEND="dev-libs/openssl + static? ( dev-libs/openssl[static-libs] )" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/source" + +src_prepare() { + use static || sed -i '/ADD_LF = -static/d' ${S}/Makefile +} + +src_install() { + dobin wbfs_file + dodoc ../readme.txt + dodoc ../readme_orig.txt +} |