blob: f79d7e3dfc787901ee06f8ecbbcece41a02ffbde (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}
|