2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 22:12:27 +00:00
repo/extra/gmp/build
Muhammad Herdiansyah b03d3dccb7 gmp: move to extra
2019-07-15 18:25:20 +07:00

19 lines
328 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 \
--enable-fat \
--with-pic
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"