Loading ...
Sorry, an error occurred while loading the content.

SlugOS5, BitBake file, HowTo?

Expand Messages
  • reuter.rudolf
    Hello, I am trying to setup a BitBake file for the package uvccapture (webcam snapshot) for slugOS5. I have this file already as binary for slugOS4.8, but it
    Message 1 of 1 , Mar 7, 2009
    • 0 Attachment
      Hello,
      I am trying to setup a BitBake file for the package uvccapture
      (webcam snapshot) for slugOS5. I have this file already as binary
      for slugOS4.8, but it does not work under slugOS5. The cross tool
      chain is working, "make slugosbe-packages" did work
      (19 h build time).
      Now after several days of reading, trying and head scratching my
      uvccapture_0.5.1.bb file will download the source, but no
      compilation at all.

      It would appreciate very much, if an expert could please help me
      on this project.

      Regards, Rudolf

      # uvccapture_0.5.1.bb 2009-03-06 RudolfReuter
      DESCRIPTION = "USB UVC Video Class Snapshot Software for V4L2 driver."
      SECTION = "console/media"
      PRIORITY = "optional"
      DEPENDS="jpeg"
      LICENSE = "GPLV2"
      PR = "r0"

      SRC_URI = "http://ftp.de.debian.org/debian/pool/main/u/uvccapture/uvccapture_0.5.orig.tar.gz \
      http://ftp.de.debian.org/debian/pool/main/u/uvccapture/uvccapture_0.5-1.diff.gz;patch=1"

      S = "${WORKDIR}/uvccapture-0.5.1/"

      inherit autotools

      LDFLAGS += "-L${STAGING_LIBDIR}"
      CFLAGS += "-L${STAGING_LIBDIR} -I${STAGING_INCDIR}"

      EXTRA_OECONF = "--without-x --without-ttf-inc"

      do_install() {
      install -d ${D}${bindir}
      install -d ${D}${mandir}/man1
      install -m 0755 ${S}uvccapture ${D}${bindir}/uvccapture
      install -m 0644 ${S}uvccapture.1 ${D}${mandir}/man1/uvccapture.1
      }
    Your message has been successfully submitted and would be delivered to recipients shortly.