robbin wrote:
Thank you marc.
how about debian and CentOS, in the most cases, i used these both.
You can always have a look at the source packages (src-deb and srpm). In srpm there'll be a whatever.spec file where the build process is described.
Here is an extract of a spec file for a perl module I made:
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
Regards


