|
|
|
@ -37,7 +37,10 @@ Distribution: OpenPKG [PLUS]
|
|
|
|
|
Group: Web |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_here} |
|
|
|
|
Release: 20030224 |
|
|
|
|
Release: 20030402 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_dns no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.mrunix.net/pub/webalizer/webalizer-%{V_real}-src.tgz |
|
|
|
@ -61,8 +64,12 @@ AutoReqProv: no
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
CPPFLAGS="%{l_cppflags} -DHAVE_DB_185_H" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
%if "%{with_dns}" == "yes" |
|
|
|
|
--enable-dns \ |
|
|
|
|
%endif |
|
|
|
|
--with-etcdir=%{l_prefix}/etc/webalizer \ |
|
|
|
|
--with-gdlib=%{l_prefix}/lib \ |
|
|
|
|
--with-gd=%{l_prefix}/include \ |
|
|
|
|