Mailinglist Archive: opensuse-packaging (115 mails)
| < Previous | Next > |
Re: [opensuse-packaging] The beginning of a repo
- From: Mads Martin Joergensen <mmj@xxxxxxx>
- Date: Wed, 12 Oct 2005 01:41:07 +0200
- Message-id: <20051011234107.GJ18309@xxxxxxx>
* Marcus Rueckert <darix@xxxxxx> [Oct 12. 2005 01:39]:
> On 2005-10-12 00:57:41 +0200, Pascal Bleser wrote:
> > CFLAGS="%{optflags}" \
> > CXXFLAGS="%{optflags}" \
> > ./configure \
> > --prefix="%{_prefix}" \
> > --libdir="%{_libdir}" \
> > --sysconfdir="%{_sysconfdir}" \
> > --mandir="%{_mandir}"
>
> %configure
>
> it includes setting the CFLAGS and the proper params with the
> configure params (paths)
And a lot more:
%configure \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
./configure --host=%{_host} --build=%{_build} \\\
--target=%{_target_platform} \\\
--program-prefix=%{?_program_prefix} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\
--bindir=%{_bindir} \\\
--sbindir=%{_sbindir} \\\
--sysconfdir=%{_sysconfdir} \\\
--datadir=%{_datadir} \\\
--includedir=%{_includedir} \\\
--libdir=%{_libdir} \\\
--libexecdir=%{_libexecdir} \\\
--localstatedir=%{_localstatedir} \\\
--sharedstatedir=%{_sharedstatedir} \\\
--mandir=%{_mandir} \\\
--infodir=%{_infodir}
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.
> On 2005-10-12 00:57:41 +0200, Pascal Bleser wrote:
> > CFLAGS="%{optflags}" \
> > CXXFLAGS="%{optflags}" \
> > ./configure \
> > --prefix="%{_prefix}" \
> > --libdir="%{_libdir}" \
> > --sysconfdir="%{_sysconfdir}" \
> > --mandir="%{_mandir}"
>
> %configure
>
> it includes setting the CFLAGS and the proper params with the
> configure params (paths)
And a lot more:
%configure \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
./configure --host=%{_host} --build=%{_build} \\\
--target=%{_target_platform} \\\
--program-prefix=%{?_program_prefix} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\
--bindir=%{_bindir} \\\
--sbindir=%{_sbindir} \\\
--sysconfdir=%{_sysconfdir} \\\
--datadir=%{_datadir} \\\
--includedir=%{_includedir} \\\
--libdir=%{_libdir} \\\
--libexecdir=%{_libexecdir} \\\
--localstatedir=%{_localstatedir} \\\
--sharedstatedir=%{_sharedstatedir} \\\
--mandir=%{_mandir} \\\
--infodir=%{_infodir}
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.
| < Previous | Next > |