diff options
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" |