summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/gmp/gmp-4.1.2/amd64.patch0
-rw-r--r--packages/gmp/gmp_4.1.2.bb17
2 files changed, 17 insertions, 0 deletions
diff --git a/packages/gmp/gmp-4.1.2/amd64.patch b/packages/gmp/gmp-4.1.2/amd64.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gmp/gmp-4.1.2/amd64.patch
diff --git a/packages/gmp/gmp_4.1.2.bb b/packages/gmp/gmp_4.1.2.bb
index e69de29bb2..b19d122ddf 100644
--- a/packages/gmp/gmp_4.1.2.bb
+++ b/packages/gmp/gmp_4.1.2.bb
@@ -0,0 +1,17 @@
+SECTION = "libs"
+DESCRIPTION = "GNU multiprecision arithmetic library"
+HOMEPAGE = "http://www.swox.com/gmp/"
+LICENSE = "GPL LGPL"
+
+SRC_URI = "ftp://mirrors.kernel.org/gnu/gmp/gmp-${PV}.tar.gz \
+ file://configure.patch;patch=1 \
+ file://amd64.patch;patch=1"
+
+inherit autotools
+
+acpaths = ""
+
+do_stage () {
+ oe_libinstall -so libgmp ${STAGING_LIBDIR}
+ install -m 0644 ${S}/gmp.h ${STAGING_INCDIR}/gmp.h
+}