blob: 158cd248258653163da67990aba8e58a2faf9234 (
plain) (
tree)
|
|
# 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
epatch "${FILESDIR}/64bit_fix.patch"
}
src_install() {
dobin wbfs_file
dodoc ../readme.txt
dodoc ../readme_orig.txt
}
|