From 26db53b91f1b37523f2d01632dae241f62dd59f5 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Fri, 13 Aug 2010 17:34:24 +0800 Subject: gmp: add GPLv2 version (4.2.1) The latest GPLv2 version of gmp is 4.2.1, which was released in 2006/05. This GPLv2 recipe is written in clean house approach, w/o looking at either v3 source code and recipe. One patch (disable-stdc.patch) is added, which is also written from scratch and licensed under GPLv2 test with 'calc' which is shipped by gmp package Signed-off-by: Kevin Tian --- meta/packages/gmp/gmp_4.2.1.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/packages/gmp/gmp_4.2.1.bb (limited to 'meta/packages/gmp/gmp_4.2.1.bb') diff --git a/meta/packages/gmp/gmp_4.2.1.bb b/meta/packages/gmp/gmp_4.2.1.bb new file mode 100644 index 000000000..d70dcf266 --- /dev/null +++ b/meta/packages/gmp/gmp_4.2.1.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" +HOMEPAGE = "http://gmplib.org/" +BUGTRACKER = "http://gmplib.org/mailman/listinfo/gmp-bugs" +# demo is licensed under GPLv2+, which however we don't package at all +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \ + file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ + file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099" +PR = "r0" + +SRC_URI = "ftp://ftp.gnu.org/gnu/gmp/${BP}.tar.bz2 \ + file://disable-stdc.patch" + +inherit autotools -- cgit v1.2.3