2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/core/gmp/build
2019-07-13 11:40:00 +03:00

18 lines
309 B
Bash
Executable File

#!/bin/sh -e
cp -v configfsf.guess config.guess
cp -v configfsf.sub config.sub
./configure \
--prefix=/usr \
--localstatedir=/var/state/gmp \
--build="$(gcc -dumpmachine)" \
--enable-cxx \
--with-pic
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"