blob: a2f240841a238e73ec746663616034e0dde7d2d1 (
plain)
1 # Description: Free library for arbitrary precision arithmetic
2 # URL: https://gmplib.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4
5 name=libgmp-32
6 version=6.2.1
7 release=1
8 source=(https://gmplib.org/download/gmp/gmp-$version.tar.xz)
9
10 build() {
11 cd gmp-$version
12
13 ./configure \
14 --prefix=/usr \
15 --libdir=/usr/lib32 \
16 --enable-cxx \
17 --build=i686-pc-linux-gnu
18
19 make
20 make DESTDIR=$PKG install
21
22 mv $PKG/usr/include/gmp{,-32}.h
23 rm $PKG/usr/include/gmpxx.h
24
25 rm -r $PKG/usr/share
26 }
|