[yocto] recipe using waf installation location

Katu Txakur katutxakurra at gmail.com
Thu Jun 13 01:55:04 PDT 2013


Hi all,

I'm creating a recipe for jack2_1.9.9.5.bb. The tarball uses waf to
configure, compile and install. It configures and compiles correctly, but
in the installation part I get:

WARNING: QA Issue: jack2: Files/directories were installed but not shipped
  /usr/local
  /usr/local/include
  /usr/local/share
  /usr/local/bin
  /usr/local/lib
  /usr/local/include/jack
.................... (all files in /usr/local/...)

I guess that it's installing it in the /usr/local/ folder instead of in
/usr? does anyone know how can I solve this?
This is my recipe so far, thanks in advance for any help you can give me.


DESCRIPTION = "JACK is a low-latency audio server. It can \
connect a number of different applications to an audio \
device, as well as allowing them to share audio between \
themselves."
SECTION = "libs/multimedia"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM =
"file://windows/Setup/src/COPYING;md5=d32239bcb673463ab874e80d47fae504"

DEPENDS = "python alsa-lib"
PR = "r0"

SRCREV = "e814e508d534d36c90692ee2319f55ea0525a217"
SRC_URI = "git://github.com/jackaudio/jack2.git;protocol=http"

S = "${WORKDIR}/git"

PACKAGES =+ "libjack jack-server jack-utils"


do_configure() {
./waf configure --alsa --debug --clients=128
}

do_compile() {
./waf build
}

do_install() {
./waf install --destdir="${D}"
}

FILES_libjack = "${libdir}/*.so.* ${libdir}/jack/*.so"
FILES_jack-server = "${bindir}/jackd"
FILES_jack-utils = "${bindir}/*"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130613/8b563bc0/attachment.html>


More information about the yocto mailing list