X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmpdecimal%2Fmpdecimal.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmpdecimal%2Fmpdecimal.mk;h=07a756421e8b3e5d0fb7681cf804cbfbb2f9e539;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/mpdecimal/mpdecimal.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/mpdecimal/mpdecimal.mk new file mode 100644 index 0000000..07a7564 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/mpdecimal/mpdecimal.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# mpdecimal +# +################################################################################ + +# Official site currently down +# MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases + +MPDECIMAL_SITE = https://launchpad.net/ubuntu/+archive/primary/+files +MPDECIMAL_VERSION = 2.4.1 +MPDECIMAL_SOURCE = mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz +MPDECIMAL_INSTALL_STAGING = YES +MPDECIMAL_LICENSE = BSD-2c +MPDECIMAL_LICENSE_FILES = LICENSE.txt +MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)" +MPDECIMAL_AUTORECONF = YES + +# On i386, by default, mpdecimal tries to uses which is not +# available in musl/glibc. So in this case, we tell mpdecimal to use +# the generic 32 bits code, which is anyway the one used on ARM, +# PowerPC, etc. +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +ifeq ($(BR2_i386),y) +MPDECIMAL_CONF_ENV += MACHINE=ansi32 +endif +endif + +$(eval $(autotools-package))