Hi people!,
I will start mantaining the cherokee package for ltib (a cross platform
embedded image and packages builder),
and I wanted to ask one question (see the .rpm spec file at the end)
How do I setup the configure to make cherokee install "cherokee.conf" in
/etc/cherokee/ .... instead of /usr/etc/cherokee ?
right now it's going here:
./usr
./usr/etc
./usr/etc/cherokee
./usr/etc/cherokee/cherokee.conf
-----------
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : Cherokee Web Server
Name : cherokee
Version : 1.0.9
Release : 0
License : GPL
Vendor : Octality
Packager : Miguel Angel Ajo Pelayo
Group : http://www.cherokee-project.com/cherokee-latest-tarball
URL : http://www.cherokee-project.com
Source : %{name}-%{version}.tar.gz
BuildRoot : %{_tmppath}/%{name}
Prefix : %{pfx}
%Description
%{summary}
%Prep
%setup
%Build
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
NM=arm-none-linux-gnueabi-nm
make NM=arm-none-linux-gnueabi-nm
%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx} NM=arm-none-linux-gnueabi-nm
%Clean
rm -rf $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
%{pfx}/*
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee