blob: 16e810401b4b2ad67dd0034e4a01c90ccea40ce8 [file] [log] [blame]
# Copyright 1999-2009 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.10 2009/10/10 11:47:46 nixnut Exp $
inherit eutils toolchain-funcs
IUSE=""
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"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="arm ppc ~sparc x86"
RDEPEND="media-libs/libpng
sys-libs/zlib"
DEPEND=">=sys-apps/sed-4
${RDEPEND}"
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 "Makefile fix failed"
}
src_compile() {
tc-export CC
emake CC="${CC}" || die
}
src_install() {
make install DESTDIR="${D}" || die
dodoc README CHANGES
}