mpir: new package

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
[Thomas:
 - rewrap Config.in help text
 - add missing host-yasm dependency
 - remove custom MPIR_MAKE_OPTS, apparently not needed]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Semyon Kolganov 2017-04-13 23:32:01 +03:00 committed by Thomas Petazzoni
parent 4156e1fa51
commit d996cb9d8a
5 changed files with 27 additions and 0 deletions

View file

@ -1422,6 +1422,7 @@ F: package/yaml-cpp/
N: Semyon Kolganov <semenak94@mail.ru>
F: package/fmt/
F: package/libbson/
F: package/mpir/
N: Sergio Prado <sergio.prado@e-labworks.com>
F: package/libgdiplus/

View file

@ -1407,6 +1407,7 @@ endif
source "package/mpc/Config.in"
source "package/mpdecimal/Config.in"
source "package/mpfr/Config.in"
source "package/mpir/Config.in"
source "package/msgpack/Config.in"
source "package/mtdev2tuio/Config.in"
source "package/musl-compat-headers/Config.in"

8
package/mpir/Config.in Normal file
View file

@ -0,0 +1,8 @@
config BR2_PACKAGE_MPIR
bool "mpir"
select BR2_PACKAGE_GMP
help
MPIR is a highly optimised library for bignum arithmetic
forked from the GMP bignum library.
http://www.mpir.org/

2
package/mpir/mpir.hash Normal file
View file

@ -0,0 +1,2 @@
# Locally calculated
sha256 52f63459cf3f9478859de29e00357f004050ead70b45913f2c2269d9708675bb mpir-3.0.0.tar.bz2

15
package/mpir/mpir.mk Normal file
View file

@ -0,0 +1,15 @@
################################################################################
#
# mpir
#
################################################################################
MPIR_VERSION = 3.0.0
MPIR_SITE = http://www.mpir.org
MPIR_SOURCE = mpir-$(MPIR_VERSION).tar.bz2
MPIR_LICENSE = LGPL-3.0+
MPIR_LICENSE_FILES = COPYING.LIB
MPIR_INSTALL_STAGING = YES
MPIR_DEPENDENCIES = gmp host-yasm
$(eval $(autotools-package))