You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/fblogo/fblogo-0.5.2.ebuild

40 lines
837 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils toolchain-funcs
DESCRIPTION="Creates images to substitute Linux boot logo"
#HOMEPAGE="http://freakzone.net/gordon/#fblogo"
HOMEPAGE="https://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)" LDFLAGS="${LDFLAGS}" || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc README CHANGES
}