Adding library with OE/Angstrom by overlay method

Hello,

I've set up OE, a local overlay, and this seems to work fine as I've built several different images and have them running on the target.

I'm now to the point where I want to start developing our application code. Some of this code is based on the GIW library (graphical plotting library), so I thought that I would work to get this and its examples included in the my 'custom' distribution before moving on.

In my local overlay, I created a packages/giw directory and added the following starter bitbake file (and I've tried different things after the SRC_URI with same results):

DESCRIPTION = "Giw Plotting Libraries"
LICENSE = "gpl"

DEPENDS += "gtk+"

SRC_URI = "\
         http://downloads.sourceforge.net/giw/giw-0.2.4.tar.bz2?use_mirror=superb-west \
"

If I run bitbake giw , it downloads the file from sourceforge and places it into my tmp/dowloads directory. Following that, I get this output:

14:15:54 (49.19 KB/s) - `/usr/oe_keith/tmp/downloads/giw-0.2.4.tar.bz2' saved [351720/351720]

NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/giw-0.2.4.tar.bz2?use_mirror=superb-west

--14:15:54-- http://www.angstrom-distribution.org/unstable/sources/giw-0.2.4.tar.bz2?use_mirror=superb-west

         => `/usr/oe_keith/tmp/downloads/giw-0.2.4.tar.bz2?use_mirror=superb-west'
Resolving www.angstrom-distribution.org... 85.214.40.226
Connecting to www.angstrom-distribution.org|85.214.40.226|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
14:15:54 ERROR 404: Not Found.

NOTE: Task failed: Fetch failed: http://downloads.sourceforge.net/giw/giw-0.2.4.tar.bz2?use_mirror=superb-west

NOTE: package giw-1.0-r0: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package giw-1.0: failed

It's not clear to me why it's trying to do this. I'm assuming that there is some 'global' thing controlling this, but I'm not sure what it is. Why is it trying to download something from Angstrom?

I know that I'm going to stumble over many different issues as I move forward. I thank everyone in advance for the help.

--Keith

SRC_URI = "${SOURCEFORGE_MIRROR}/giw/giw_${PV}.tar.bz2"

regards,

Koen

Koen,

Thank you for your response. Your posting definitely fixed my issue.

It was the "+=" instead of "=" in the SRC_URI line that was causing
issues, right?

-Keith

Koen Kooi wrote:

Koen,

Thank you for your response. Your posting definitely fixed my issue.

It was the "+=" instead of "=" in the SRC_URI line that was causing
issues, right?

It was the ? in the url that was causing the troubles.

regards,

Koen