summaryrefslogtreecommitdiff
path: root/recipes/clamav
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-29 17:26:58 +0400
committerRoman I Khimov <khimov@altell.ru>2010-03-30 21:41:46 +0400
commite5f884a71e9029d0f376eff0e3b51d3dfec96561 (patch)
tree978b96b99e81cab8702613d116c2ca98de0ca9c7 /recipes/clamav
parentab62901b369f88b0be06d6635ab7f752f05f88c9 (diff)
clamav: switch to INC_PR
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/clamav')
-rw-r--r--recipes/clamav/clamav.inc2
-rw-r--r--recipes/clamav/clamav_0.90.2.bb2
-rw-r--r--recipes/clamav/clamav_0.90.3.bb2
-rw-r--r--recipes/clamav/clamav_0.91.1.bb2
-rw-r--r--recipes/clamav/clamav_0.94.2.bb3
5 files changed, 8 insertions, 3 deletions
diff --git a/recipes/clamav/clamav.inc b/recipes/clamav/clamav.inc
index 5b2069e739..99ce1a206b 100644
--- a/recipes/clamav/clamav.inc
+++ b/recipes/clamav/clamav.inc
@@ -18,6 +18,8 @@ RRECOMMENDS_${PN} = "${PN}-freshclam"
RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
RPROVIDES_${PN}-freshclam = "${PN}-data"
+INC_PR = "r2"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz \
file://clamav-daemon.init \
file://clamav-freshclam.init \
diff --git a/recipes/clamav/clamav_0.90.2.bb b/recipes/clamav/clamav_0.90.2.bb
index 740c02a90e..7c7f002887 100644
--- a/recipes/clamav/clamav_0.90.2.bb
+++ b/recipes/clamav/clamav_0.90.2.bb
@@ -2,4 +2,4 @@ require clamav.inc
SRC_URI += "file://cross-compile-fix.patch;patch=1"
-PR = "r2"
+PR = "${INC_PR}.0" \ No newline at end of file
diff --git a/recipes/clamav/clamav_0.90.3.bb b/recipes/clamav/clamav_0.90.3.bb
index 2227f01f07..bf2baf664c 100644
--- a/recipes/clamav/clamav_0.90.3.bb
+++ b/recipes/clamav/clamav_0.90.3.bb
@@ -2,4 +2,4 @@ require clamav.inc
SRC_URI += "file://cross-compile-fix.patch;patch=1"
-PR = "r1"
+PR = "${INC_PR}.0"
diff --git a/recipes/clamav/clamav_0.91.1.bb b/recipes/clamav/clamav_0.91.1.bb
index 2227f01f07..bf2baf664c 100644
--- a/recipes/clamav/clamav_0.91.1.bb
+++ b/recipes/clamav/clamav_0.91.1.bb
@@ -2,4 +2,4 @@ require clamav.inc
SRC_URI += "file://cross-compile-fix.patch;patch=1"
-PR = "r1"
+PR = "${INC_PR}.0"
diff --git a/recipes/clamav/clamav_0.94.2.bb b/recipes/clamav/clamav_0.94.2.bb
index 12fad7afab..e85cc50a03 100644
--- a/recipes/clamav/clamav_0.94.2.bb
+++ b/recipes/clamav/clamav_0.94.2.bb
@@ -1,3 +1,6 @@
require clamav.inc
EXTRA_OECONF += "--program-transform-name=''"
+
+PR = "${INC_PR}.0"
+