wok view sarg/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents d310b6c488c0
children 64d159b437a1
line source
1 # SliTaz package receipt.
3 PACKAGE="sarg"
4 VERSION="2.3.11"
5 CATEGORY="network"
6 SHORT_DESC="Squid Analysis Report Generator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/sarg/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's/@mkdir_p@/mkdir -p/' po/Makefile*
18 ./configure \
19 --sysconfdir=/etc/sarg \
20 --bindir=/usr/bin \
21 --htmldir=/var/www \
22 --enable-fontdir=/usr/share/sarg/fonts \
23 --enable-imagedir=/usr/share/sarg/images \
24 --enable-sargphp=/var/www/sarg-php &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 #cp -a $install/var $fs
35 cp -a $install/etc $fs
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/sarg $fs/usr/share
39 sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
40 -e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
41 $fs/etc/sarg/sarg.conf
42 }