git/git.spec

changeset 767
3ee660c5bc4f
parent 516
827ba617ed8c
equal deleted inserted replaced
0:812650f9ebc7 1:a2090dca3c3b
38 Distribution: OpenPKG Community 38 Distribution: OpenPKG Community
39 Class: EVAL 39 Class: EVAL
40 Group: SCM 40 Group: SCM
41 License: GPL 41 License: GPL
42 Version: %{V_git} 42 Version: %{V_git}
43 Release: 20120731 43 Release: 20120800
44 44
45 # package options 45 # package options
46 %option with_doc no 46 %option with_doc no
47 %option with_cogito no 47 %option with_cogito no
48 %option with_stgit no 48 %option with_stgit no
176 --with-shell=%{l_prefix}/bin/bash \ 176 --with-shell=%{l_prefix}/bin/bash \
177 --with-perl=%{l_prefix}/bin/perl \ 177 --with-perl=%{l_prefix}/bin/perl \
178 --without-python \ 178 --without-python \
179 --without-tcltk \ 179 --without-tcltk \
180 --disable-pthreads 180 --disable-pthreads
181 %{l_make} %{l_mflags} 181 %{l_make} %{l_mflags -O}
182 %if "%{with_doc}" == "yes" 182 %if "%{with_doc}" == "yes"
183 ( cd Documentation 183 ( cd Documentation
184 %{l_make} %{l_mflags} man 184 %{l_make} %{l_mflags} man
185 ) || exit $? 185 ) || exit $?
186 %endif 186 %endif
229 229
230 %install 230 %install
231 # install GIT core 231 # install GIT core
232 ( cd git-%{V_git} 232 ( cd git-%{V_git}
233 %{l_make} %{l_mflags} install \ 233 %{l_make} %{l_mflags} install \
234 INSTALL="%{l_shtool} install -c" \
234 DESTDIR=$RPM_BUILD_ROOT 235 DESTDIR=$RPM_BUILD_ROOT
235 %if "%{with_doc}" == "yes" 236 %if "%{with_doc}" == "yes"
236 ( cd Documentation 237 ( cd Documentation
237 %{l_shtool} mkdir -f -p -m 755 \ 238 %{l_shtool} mkdir -f -p -m 755 \
238 $RPM_BUILD_ROOT%{l_prefix}/man/man1 \ 239 $RPM_BUILD_ROOT%{l_prefix}/man/man1 \

mercurial