drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
--rw-r--r-- root/root usr/include/gmp-32.h
+-rw-r--r-- root/root usr/include/gmp-64.h
-rw-r--r-- root/root usr/include/gmp.h
-rw-r--r-- root/root usr/include/gmpxx.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libgmp.a
-rwxr-xr-x root/root usr/lib/libgmp.la
-lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.2.0
-lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.2.0
--rwxr-xr-x root/root usr/lib/libgmp.so.10.2.0
+lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.3.0
+lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.3.0
+-rwxr-xr-x root/root usr/lib/libgmp.so.10.3.0
-rw-r--r-- root/root usr/lib/libgmpxx.a
-rwxr-xr-x root/root usr/lib/libgmpxx.la
-lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.4.0
-lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.4.0
--rwxr-xr-x root/root usr/lib/libgmpxx.so.4.4.0
+lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.5.0
+lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.5.0
+-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.5.0
-1e6da4e434553d2811437aa42c7f7c76 gmp-6.0.0a.tar.xz
-daeab39b836818ac780974b146ea7e4f gmp.h
+a9868ef2556ad6a2909babcd1428f3c7 gmp-6.1.0.tar.xz
+5fb0710c587cd5d462bd3439bc09f87f gmp.h
# Depends on:
name=libgmp
-version=6.0.0a
+version=6.1.0
release=1
-source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz \
+source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \
gmp.h)
build() {
- cd gmp-${version%a}
+ cd gmp-$version
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--enable-cxx
make
make DESTDIR=$PKG install
- mv $PKG/usr/include/gmp{,-32}.h
+ mv $PKG/usr/include/gmp{,-64}.h
install -m 0644 $SRC/gmp.h $PKG/usr/include/
rm -r $PKG/usr/share
}
#if defined(__x86_64__) || \
defined(__sparc64__) || \
defined(__arch64__) || \
+ defined(__aarch64__) || \
defined(__powerpc64__) || \
defined(__s390x__)
#include "gmp-64.h"