|
- # Contributor: Fluke <fluke@sfcube.net>
- pkgname=sarg
- pkgver=2.2.2
- pkgrel=3
- pkgdesc="Squid Analysis Report Generator is a tool that allow you to view "where" your users are going to on the Internet."
- url="http://sarg.sourceforge.net/"
- depends=('squid')
- source=(http://puzzle.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
- md5sums=('299f989f09d8b3c5218578eda7af724d')
- build() {
- cd $startdir/src/$pkgname-$pkgver
- sed -e 's\#access_log /usr/local/squid/var/logs/access.log\access_log /var/log/squid/access.log\g' sarg.conf > tmp
- mv tmp sarg.conf
- ./configure
- make PREFIX=/usr || return 1
- make PREFIX=/usr DESTDIR=$startdir/pkg install
- }
复制代码
很好用阿 |
|