rendered paste body#
#
# OpenEmbedded metadata file
#
# gfxboot
#
# (C) Copyright 2006 Christopher Lang <christopher.lang@chl-informatik.de>
#
# Licence: GPL
#
#
DESCRIPTION = "gfxboot - graphical boot for grub and other bootloaders"
MAINTAINER = "Christopher Lang <christopher.lang@chl-informatik.de"
LICENSE = "GPL"
PR = "r0"
DEPENDS = "nasm libx11 rpm2cpio-native xmlto-native"
SRC_URI = "http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/gfxboot-${PV}-2.src.rpm"
# file://design-lippert
TARBALL1 = "${WORKDIR}/${PN}-${PV}.tar.bz2"
TARBALL2 = "${WORKDIR}/SuSE.tar.bz2"
rpm_do_unpack () {
rpm2cpio.pl ${A} | cpio -i --make-directories
}
python tarball_do_unpack () {
import bb, os
os.chdir(bb.data.getVar('WORKDIR', d, 1) or '')
if not oe_unpack_file(bb.data.expand('${TARBALL1}', d), d):
raise bb.build.FuncFailed(bb.data.expand("Unable to unpack ${TARBALL1}", d))
if not oe_unpack_file(bb.data.expand('${TARBALL2}', d), d):
raise bb.build.FuncFailed(bb.data.expand("Unable to unpack ${TARBALL2}", d))
}
python do_unpack () {
bb.build.exec_func('rpm_do_unpack', d)
bb.build.exec_func('tarball_do_unpack', d)
}
EXTRA_OEMAKE += " X11LIBS=${STAGING_LIBDIR} CFLAGS='${CFLAGS} ${LDFLAGS}'"
do_compile () {
base_do_compile
oe_runmake doc
}