blob: ee4f29d881394a632ff50f65c99a0b2c4890faa4 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs
DESCRIPTION="a program to extract files from a yaffs image"
HOMEPAGE="http://code.google.com/p/unyaffs/"
SRC_URI="http://unyaffs.googlecode.com/files/unyaffs.c
http://unyaffs.googlecode.com/files/unyaffs.h"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
DEPENDS=""
RDEPENDS=""
src_unpack() {
for source in ${A} ; do
cp ${DISTDIR}/${source} ${WORKDIR}
done
}
src_compile() {
$(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${PN}.c || die
}
src_install() {
dobin ${PN}
}
|