diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-08-02 11:13:00 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-08-02 11:13:00 +0200 |
commit | 0704427510fa18d90170cf13d1fd81e446a1d3b0 (patch) | |
tree | f88eb0400bf4608d95808aeea656185634b9c0fc /mageia/dependencies/qt3/qt3.macros | |
parent | 9f07f141355cd13d40a39a2f123c6516209c5fcf (diff) | |
download | tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.tar.gz tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.zip |
Mageia: initial QT3 version for TDE 3.5.13
Diffstat (limited to 'mageia/dependencies/qt3/qt3.macros')
-rw-r--r-- | mageia/dependencies/qt3/qt3.macros | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/mageia/dependencies/qt3/qt3.macros b/mageia/dependencies/qt3/qt3.macros new file mode 100644 index 000000000..2d7f24625 --- /dev/null +++ b/mageia/dependencies/qt3/qt3.macros @@ -0,0 +1,36 @@ +%qt3dir %_prefix/lib/qt3 +%qt3lib %_libdir +%qt3bin %qt3dir/bin +%qt3include %{qt3dir}/include +%qt3plugins %_libdir/qt3/plugins + +%configure_qt3 \\\ + %before_configure ; \ + %{?_enable_libtoolize:%{?__libtoolize_configure:%{__libtoolize_configure};}} \ + [ -f $CONFIGURE_TOP/configure.in -o -f $CONFIGURE_TOP/configure.ac ] && \ + CONFIGURE_XPATH="--x-includes=%{_prefix}/include --x-libraries=%{_prefix}/%{_lib}" \ + PATH="%qt3bin:$PATH" ; export PATH ; \ + $CONFIGURE_TOP/configure --build=%{_target_platform} \\\ + --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} \\\ + --disable-rpath \\\ + $CONFIGURE_XPATH + +%qmake_qt3 \ + CPPFLAGS="${CPPFLAGS:-%optflags -DPIC -fPIC}" ; export CPPFLAGS ; \ + CXXFLAGS="${CXXFLAGS:-%optflags -DPIC -fPIC}" ; export CXXFLAGS ; \ + CFLAGS="${CFLAGS:-%optflags -DPIC -fPIC}" ; export CFLAGS ; \ + QTDIR="%qt3dir" ; export QTDIR ; \ + %{qt3bin}/qmake + |