--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+-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.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.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
--- /dev/null
+# Description: Free library for arbitrary precision arithmetic
+# URL: http://gmplib.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
+
+name=libgmp
+version=6.1.0
+release=1
+source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz)
+
+build() {
+ cd gmp-${version%a}
+ ./configure --prefix=/usr \
+ --enable-cxx \
+ --build=aarch64-unknown-linux-gnueabi
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+}