2008-01-10 23:40:21 +00:00
|
|
|
DESCRIPTION = "User support binary for the uvesafb kernel module"
|
2010-07-06 06:24:58 +00:00
|
|
|
HOMEPAGE = "http://dev.gentoo.org/~spock/projects/uvesafb/"
|
|
|
|
|
2010-11-26 09:26:49 +00:00
|
|
|
# the copyright info is at the bottom of README, expect break
|
2008-01-10 23:40:21 +00:00
|
|
|
LICENSE = "GPLv2"
|
2010-11-26 09:26:49 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://README;md5=94ac1971e4f2309dc322d598e7b1f7dd"
|
2008-01-10 23:40:21 +00:00
|
|
|
|
2010-07-06 06:24:58 +00:00
|
|
|
DEPENDS = "virtual/kernel"
|
2008-01-10 23:40:21 +00:00
|
|
|
RRECOMMENDS_${PN} = "kernel-module-uvesafb"
|
2010-07-06 06:24:58 +00:00
|
|
|
PR = "r0"
|
|
|
|
|
|
|
|
SRC_URI = "http://dev.gentoo.org/~spock/projects/uvesafb/archive/v86d-${PV}.tar.bz2 \
|
|
|
|
file://fbsetup"
|
2008-01-10 23:40:21 +00:00
|
|
|
|
2010-12-08 04:06:29 +00:00
|
|
|
SRC_URI[md5sum] = "ebbbc8e7013c9544b6ba6981add43831"
|
|
|
|
SRC_URI[sha256sum] = "8167dec4ff919cfd73f854bbd3244f05c2b867e014fa8298044ea7cfd66d18a8"
|
|
|
|
|
2008-01-10 23:40:21 +00:00
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
2011-01-24 14:07:13 +00:00
|
|
|
COMPATIBLE_MACHINE = "(qemux86)"
|
2008-01-10 23:40:21 +00:00
|
|
|
|
2008-01-11 09:10:16 +00:00
|
|
|
INITSCRIPT_NAME = "fbsetup"
|
|
|
|
INITSCRIPT_PARAMS = "start 0 S ."
|
|
|
|
|
2008-01-10 23:40:21 +00:00
|
|
|
do_configure () {
|
2008-06-05 10:31:58 +00:00
|
|
|
./configure --with-x86emu
|
2008-01-10 23:40:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_compile () {
|
|
|
|
KDIR="${STAGING_KERNEL_DIR}" make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install () {
|
|
|
|
install -d ${D}${base_sbindir}
|
|
|
|
install v86d ${D}${base_sbindir}/
|
2008-01-11 09:10:16 +00:00
|
|
|
|
|
|
|
install -d ${D}${sysconfdir}/init.d/
|
|
|
|
install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup
|
|
|
|
}
|
|
|
|
|
|
|
|
inherit update-rc.d
|