summaryrefslogtreecommitdiff
blob: 2d0f02a0ad0fd8e0e37d7f8d60455b17143d02a8 (plain)
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
37
38
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

MY_PN="${PN/-/_}"
MY_PN="${MY_PN/35/}"
MY_PV="3.5_${PV}"
MY_P="${MY_PN}-${MY_PV}"

FN="${MY_P}.tar.gz"
DESCRIPTION="Firmware flasher for Maemo"
HOMEPAGE="http://www.maemo.org"
SRC_URI="${FN}"

LICENSE="Nokia-EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="fetch strip"

DEPEND="virtual/libc"
RDEPEND="${DEPEND}"

pkg_nofetch() {
	elog "Please obtain ${FN} from
	http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
	and place it in ${DISTDIR}"
}

S="${WORKDIR}"/${MY_P}

src_install() {
	newbin flasher-3.5 flasher || die
	newman man/man1/flasher-3.5.1 flasher.1 || die
	dodoc doc/changelog doc/README.Debian || die
}