clamav: make configure detect pcre-devel
This commit is contained in:
parent
d012f876e0
commit
2d71ce4114
1 changed files with 6 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'clamav'
|
||||
pkgname=clamav
|
||||
version=0.98.7
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
conf_files="/etc/clamd.conf /etc/freshclam.conf"
|
||||
CPPFLAGS="-Wno-unused-local-typedefs"
|
||||
configure_args="--with-pcre=/usr"
|
||||
system_accounts="clamav"
|
||||
clamav_homedir="/var/lib/${pkgname}"
|
||||
clamav_descr="ClamAV user"
|
||||
|
@ -17,6 +18,10 @@ homepage="http://www.clamav.net/"
|
|||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=282417b707740de13cd8f18d4cbca9ddd181cf96b444db2cad98913a5153e272
|
||||
|
||||
do_configure() {
|
||||
# Need to set PCRE_HOME to make --with-pcre=/usr work
|
||||
PCRE_HOME=/usr ./configure ${configure_args}
|
||||
}
|
||||
post_install() {
|
||||
# Enable and patch clamd configuration
|
||||
mv -v ${PKGDESTDIR}/etc/clamd.conf.sample ${PKGDESTDIR}/etc/clamd.conf
|
||||
|
|
Loading…
Reference in a new issue