diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-06-25 07:39:46 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-06-25 07:39:46 +0000 |
commit | 40b978626b9884ba8f821e702d34d437249d9762 (patch) | |
tree | e59fb2f06a8239260fd9ea3ca8ea3ac060853cc9 /packages | |
parent | c83937635cbf7a31d01e6a4c31ddad8050f6bbb7 (diff) |
olsrd: introduce MAJ_VER variable. Downloads are split into MAJ_VER directories.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/olsr/olsrd.inc | 3 | ||||
-rw-r--r-- | packages/olsr/olsrd_0.4.8.bb | 3 | ||||
-rw-r--r-- | packages/olsr/olsrd_0.5.3.bb | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/packages/olsr/olsrd.inc b/packages/olsr/olsrd.inc index 990d8a1678..e668f11847 100644 --- a/packages/olsr/olsrd.inc +++ b/packages/olsr/olsrd.inc @@ -5,7 +5,8 @@ SECTION = "console/network" PRIORITY = "optional" LICENSE = "BSD" -SRC_URI="http://www.olsr.org/releases/0.4/olsrd-${PV}.tar.bz2 \ +MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" +SRC_URI="http://www.olsr.org/releases/${MAJ_VER}/olsrd-${PV}.tar.bz2 \ file://init \ file://olsrd.conf" diff --git a/packages/olsr/olsrd_0.4.8.bb b/packages/olsr/olsrd_0.4.8.bb index 98a6344fb7..c2b9c825b6 100644 --- a/packages/olsr/olsrd_0.4.8.bb +++ b/packages/olsr/olsrd_0.4.8.bb @@ -5,7 +5,8 @@ SECTION = "console/network" PRIORITY = "optional" LICENSE = "BSD" -SRC_URI="http://www.olsr.org/releases/0.4/olsrd-${PV}.tar.bz2 \ +MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" +SRC_URI="http://www.olsr.org/releases/${MAJ_VER}/olsrd-${PV}.tar.bz2 \ file://init \ file://olsrd.conf" diff --git a/packages/olsr/olsrd_0.5.3.bb b/packages/olsr/olsrd_0.5.3.bb index 5bc448a126..34f20f64f8 100644 --- a/packages/olsr/olsrd_0.5.3.bb +++ b/packages/olsr/olsrd_0.5.3.bb @@ -1,7 +1,8 @@ require olsrd.inc + PR = "r0" -SRC_URI="http://www.olsr.org/releases/0.5/olsrd-${PV}.tar.bz2 \ +SRC_URI="http://www.olsr.org/releases/${MAJ_VER}/olsrd-${PV}.tar.bz2 \ file://init \ file://olsrd.conf \ file://unbreak-makefile.patch;patch=1" |