[oe-commits] org.oe.dev clamav 0.88.4: Add a do_stage to stage the header files and libraries so

lenehan commit openembedded-commits at lists.openembedded.org
Tue Sep 19 22:20:59 UTC 2006


clamav 0.88.4: Add a do_stage to stage the header files and libraries so
other applications that link against clamav can be build. Some spelling
fixes in the comments as well.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 69d9ef350cc8475c73999e00fe148ee82a791802
ViewMTN: http://monotone.openembedded.org/revision.psp?id=69d9ef350cc8475c73999e00fe148ee82a791802
Files:
1
packages/clamav/clamav_0.88.4.bb
Diffs:

#
# mt diff -r4b947022d295cf54343e477171aae5c39c73865f -r69d9ef350cc8475c73999e00fe148ee82a791802
#
# 
# 
# patch "packages/clamav/clamav_0.88.4.bb"
#  from [cd127302029b33fda7e7a4dc68fe5f75c89c31ff]
#    to [33420975a8baf0d61cb2385c9d18feb2b58f93d5]
# 
============================================================
--- packages/clamav/clamav_0.88.4.bb	cd127302029b33fda7e7a4dc68fe5f75c89c31ff
+++ packages/clamav/clamav_0.88.4.bb	33420975a8baf0d61cb2385c9d18feb2b58f93d5
@@ -16,7 +16,7 @@ RRECOMMENDS_${PN}-daemon = "${PN}-freshc
 RDEPENDS_${PN}-daemon = "${PN}-data"
 RRECOMMENDS_${PN} = "${PN}-freshclam"
 RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz \
           file://cross-compile-fix.patch;patch=1 \
@@ -37,10 +37,10 @@ do_install_append() {
 do_install_append() {
         install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d \
                            ${D}${docdir}/clamav
-        # Save the installed clamd.conf in the doc dir and then install out new one
+        # Save the installed clamd.conf in the doc dir and then install our new one
         install -m 0755 ${D}${sysconfdir}/clamd.conf ${D}${docdir}/clamav/clamd.conf.example
         install -m 0755 ${WORKDIR}/clamd.conf ${D}${sysconfdir}/clamd.conf
-        # Save the installed freshclam.conf in the doc dir and then install out new one
+        # Save the installed freshclam.conf in the doc dir and then install our new one
         install -m 0755 ${D}${sysconfdir}/freshclam.conf ${D}${docdir}/clamav/freshclam.conf.example
         # Install our config files and init scripts
         install -m 0755 ${WORKDIR}/freshclam.conf ${D}${sysconfdir}/freshclam.conf
@@ -48,6 +48,10 @@ do_install_append() {
         install -m 0755 ${WORKDIR}/clamav-daemon.init ${D}${sysconfdir}/init.d/clamav-daemon
         install -m 0755 ${WORKDIR}/clamav-freshclam.init ${D}${sysconfdir}/init.d/clamav-freshclam
 }
+do_stage () {
+	oe_libinstall -a -so libclamav ${STAGING_LIBDIR}
+	install -m 0644 libclamav/clamav.h ${STAGING_INCDIR}
+}
 
 PACKAGES += "${PN}-freshclam ${PN}-daemon ${PN}-data ${PN}-lib"
 
@@ -89,7 +93,7 @@ CONFFILES_${PN}-freshclam = "${sysconfdi
 CONFFILES_${PN}-daemon = "${sysconfdir}/clamd.conf \
                           ${sysconfdir}/default/clamav-daemon"
 CONFFILES_${PN}-freshclam = "${sysconfdir}/freshclam.conf"
-# Make the database as conffiles so that newwer data file won't replace
+# Mark the database as conffiles so that newer data file won't replace
 # updates generated by freshclam
 CONFFILES_${PN}-data = "${localstatedir}/lib/clamav/main.cvd \
                         ${localstatedir}/lib/clamav/daily.cvd"






More information about the Openembedded-commits mailing list