summaryrefslogtreecommitdiff
path: root/recipes/bootsplash/bootsplash_3.0.7.bb
blob: da6f75b4d350063e5c024a94af855c6f558b1252 (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
# bootsplash OE build file
# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION="Bootsplash shows pretty pictures during boot"
HOMEPAGE="http://www.bootsplash.org"
SECTION = "media-gfx"
LICENSE = "GPL"
SRC_URI="ftp://ftp.openbios.org/pub/bootsplash/rpm-sources/bootsplash/bootsplash-${PV}.tar.bz2 \
         file://freetype2.patch;patch=1 \
	 file://gcc-issues.patch;patch=1"

DEPENDS="freetype libmng"
PR = "r1"

EXTRA_OEMAKE += "-C Utilities \
		CFLAGS='${CFLAGS} -I${STAGING_INCDIR}/freetype2/ -I${STAGING_INCDIR}' \
		LDFLAGS='${LDFLAGS} -L${STAGING_LIBDIR} -ljpeg'"

do_compile() {
	oe_runmake
}

do_install() {
	install -d ${D}${bindir}/
	install -m 0755 ${S}/Utilities/fbtruetype ${D}${bindir}
	install -m 0755 ${S}/Utilities/splash ${D}${bindir}
}