v86d_0.1.10.bb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. SUMMARY = "User support binary for the uvesafb kernel module"
  2. HOMEPAGE = "http://dev.gentoo.org/~spock/projects/uvesafb/"
  3. # the copyright info is at the bottom of README, expect break
  4. LICENSE = "GPLv2"
  5. LIC_FILES_CHKSUM = "file://README;md5=94ac1971e4f2309dc322d598e7b1f7dd"
  6. DEPENDS = "virtual/kernel"
  7. RRECOMMENDS_${PN} = "kernel-module-uvesafb"
  8. PR = "r1"
  9. SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \
  10. file://fbsetup \
  11. file://ar-from-env.patch"
  12. SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0"
  13. SRC_URI[sha256sum] = "634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25e6735c"
  14. PACKAGE_ARCH = "${MACHINE_ARCH}"
  15. COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
  16. INITSCRIPT_NAME = "fbsetup"
  17. INITSCRIPT_PARAMS = "start 0 S ."
  18. do_configure () {
  19. ./configure --with-x86emu
  20. }
  21. do_compile () {
  22. KDIR="${STAGING_DIR_HOST}/usr" make
  23. }
  24. do_install () {
  25. install -d ${D}${base_sbindir}
  26. install v86d ${D}${base_sbindir}/
  27. install -d ${D}${sysconfdir}/init.d/
  28. install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup
  29. }
  30. inherit update-rc.d