wok-current annotate webalizer/receipt @ rev 1676
Add webalizer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:59:35 2008 +0000 (2008-11-08) |
parents | |
children | 8ab0243e5a22 |
rev | line source |
---|---|
pascal@1676 | 1 # SliTaz package receipt. |
pascal@1676 | 2 |
pascal@1676 | 3 PACKAGE="webalizer" |
pascal@1676 | 4 VERSION="2.20-01" |
pascal@1676 | 5 CATEGORY="network" |
pascal@1676 | 6 SHORT_DESC="Web server log file analysis program." |
pascal@1676 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1676 | 8 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
pascal@1676 | 9 WEB_SITE="http://www.webalizer.com/" |
pascal@1676 | 10 WGET_URL="ftp://ftp.mrunix.net/pub/$PACKAGE/$TARBALL" |
pascal@1676 | 11 DEPENDS="libgd zlib db" |
pascal@1676 | 12 BUILD_DEPENDS="libgd libgd-dev zlib-dev db db-dev" |
pascal@1676 | 13 |
pascal@1676 | 14 # Rules to configure and make the package. |
pascal@1676 | 15 compile_rules() |
pascal@1676 | 16 { |
pascal@1676 | 17 cd $src |
pascal@1676 | 18 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@1676 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1676 | 20 make && |
pascal@1676 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1676 | 22 } |
pascal@1676 | 23 |
pascal@1676 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1676 | 25 genpkg_rules() |
pascal@1676 | 26 { |
pascal@1676 | 27 mkdir -p $fs/usr $fs/etc |
pascal@1676 | 28 cp -a $_pkg/etc/webalizer.conf.sample $fs/etc/webalizer.conf |
pascal@1676 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1676 | 30 } |
pascal@1676 | 31 |