git: right dependencies, grooming

master
Philippe PITTOLI 2019-09-05 23:55:50 +02:00
parent 13d3b83ab4
commit 3c8e14caad
1 changed files with 8 additions and 13 deletions

View File

@ -7,29 +7,24 @@ build-dependencies:
- curl - curl
- openssl-dev - openssl-dev
- perl - perl
- gmp
- mpfr
- autoconf - autoconf
- automake - automake
- mpc - gettext
dependencies: dependencies:
- binutils - binutils
# -i prevents the use of gettext (msgfmt) # -i prevents the use of gettext (msgfmt)
options: options:
- make: -i - make: -i -j1
- make install: -i
@configure @configure
cd %{name}-%{version} cd %{name}-%{version}
make distclean make distclean
autoconf autoconf
./configure --without-tcltk --disable-nls --enable-openssl ./configure \
--prefix=%{prefix} \
@build --without-tcltk \
cd %{name}-%{version} --disable-nls \
make -i 1>/dev/null --enable-openssl
@install
cd %{name}-%{version}
make -i install DESTDIR="%{pkg}"