add PKG_CPE_ID ids to package and tools
[openwrt/staging/wigyori.git] / tools / mpfr / Makefile
1 #
2 # Copyright (C) 2009-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=mpfr
10 PKG_VERSION:=3.1.6
11 PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
12
13 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
14 @GNU/mpfr
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
16 PKG_HASH:=7a62ac1a04408614fccdc506e4844b10cf0ad2c2b1677097f8f35d3a1344a950
17
18 HOST_BUILD_PARALLEL:=1
19 HOST_FIXUP:=autoreconf
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 HOST_CONFIGURE_ARGS += \
24 --enable-static \
25 --disable-shared \
26 --with-gmp=$(STAGING_DIR_HOST)
27
28 $(eval $(call HostBuild))