[oe-commits] Roman I Khimov : clamav: convert to new staging

git version control git at git.openembedded.org
Thu Jun 10 18:58:24 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 101eac534afed0302e2c8587b21293cce3eab12a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=101eac534afed0302e2c8587b21293cce3eab12a

Author: Roman I Khimov <khimov at altell.ru>
Date:   Fri May 21 15:56:47 2010 +0400

clamav: convert to new staging

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/clamav/clamav.inc |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/recipes/clamav/clamav.inc b/recipes/clamav/clamav.inc
index 91aca57..5c91b44 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"





More information about the Openembedded-commits mailing list