blob: 8a99e98a938c3c30c372060bba5dd15d52e719fd (
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
39
40
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fblogo/fblogo-0.5.2.ebuild,v 1.11 2010/03/10 13:32:40 ssuominen Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Creates images to substitute Linux boot logo"
#HOMEPAGE="http://freakzone.net/gordon/#fblogo"
HOMEPAGE="http://www.gentoo.org/"
#SRC_URI="http://freakzone.net/gordon/src/${P}.tar.gz"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 arm ppc ~sparc x86"
IUSE=""
RDEPEND="media-libs/libpng
sys-libs/zlib"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/fblogo-0.5.2-cross.patch
sed -i -e '/-o fblogo/d' \
-e 's:LIBS:LDLIBS:' \
Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc README CHANGES
}
|