summaryrefslogtreecommitdiff
path: root/recipes/clamav/clamav.inc
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-05-21 15:56:47 +0400
committerRoman I Khimov <khimov@altell.ru>2010-06-10 22:55:40 +0400
commit101eac534afed0302e2c8587b21293cce3eab12a (patch)
treeef7f0b6577a771ebe2b0b0a830ef079db110b7a9 /recipes/clamav/clamav.inc
parent14804923603c54dba47ae3dff5da13e88701cc83 (diff)
clamav: convert to new staging
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/clamav/clamav.inc')
-rw-r--r--recipes/clamav/clamav.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/recipes/clamav/clamav.inc b/recipes/clamav/clamav.inc
index 91aca57497..5c91b448d3 100644
--- a/recipes/clamav/clamav.inc
+++ b/recipes/clamav/clamav.inc
@@ -18,7 +18,7 @@ RRECOMMENDS_${PN} = "${PN}-freshclam"
RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
RPROVIDES_${PN}-freshclam = "${PN}-data"
-INC_PR = "r3"
+INC_PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz;name=clamav-${PV} \
file://clamav-daemon.init \
@@ -29,7 +29,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz;name=clamav-${PV} \
file://volatiles.03_clamav-daemon \
file://volatiles.03_clamav-freshclam"
-inherit autotools update-rc.d binconfig
+inherit autotools update-rc.d binconfig pkgconfig
# Don't check for clamav uid/gid - they don't exist on the host
# Put virus definitions in /var/lib not /usr/lib
@@ -61,11 +61,6 @@ do_install_append() {
install -m 0644 ${WORKDIR}/volatiles.$i ${D}${sysconfdir}/default/volatiles/$i
done
}
-do_stage () {
- oe_libinstall -a -so libclamav ${STAGING_LIBDIR}
- rm -f ${STAGING_LIBDIR}/libclamav.la
- install -m 0644 libclamav/clamav.h ${STAGING_INCDIR}
-}
PACKAGES += "${PN}-freshclam ${PN}-daemon ${PN}-conf ${PN}-data ${PN}-lib \
${PN}-clamconf"