aboutsummaryrefslogtreecommitdiff
path: root/recipes/sarg/sarg_2.2.7.1.bb
blob: 8180c312dc86baa1e6254d6cfd1c604959abff50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Squid Analysis Report Generator"
SECTION = "utils"
DEPENDS = "gd"
RSUGGESTS_${PN} = "squid"
LICENSE = "GPL"
HOMEPAGE = "http://sarg.sourceforge.net/sarg.php"
PR = "r1"

SRC_URI = " \
	${SOURCEFORGE_MIRROR}/sarg/sarg-${PV}.tar.gz;name=tar \
	file://sarg.conf \
	"
SRC_URI[tar.md5sum] = "0ce83323978e715ce70a6d2ab4f0daa4"
SRC_URI[tar.sha256sum] = "209398e7690876ef9df04ba7f0b4b47c91ea8cdcfd7a54d78f15b5548a2dd32e"

inherit cmake

EXTRA_OECMAKE = "-DSYSCONFDIR:STRING=${sysconfdir}/squid"

do_install_append() {
    install -m 0644 ${WORKDIR}/sarg.conf ${D}${sysconfdir}/squid/sarg.conf
}