2 # Copyright (C) 2008-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=libdouble-conversion
15 PKG_SOURCE_VERSION
:=0d25506a2e7fb52928963313343e0237e890059e
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
17 PKG_MIRROR_HASH
:=7466f634421f3136174cbc2b00635788509a3312894de28367f31d891fd401ad
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_URL
:=https
://github.com
/google
/double-conversion.git
20 PKG_LICENSE_FILES
:=COPYING LICENSE
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/cmake.mk
25 define Package
/libdouble-conversion
28 TITLE
:=Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles
29 URL
:=https
://github.com
/google
/double-conversion
33 define Package
/libdouble-conversion
/description
34 double-conversion provides binary-decimal and decimal-binary routines for IEEE doubles.
36 The library consists of efficient conversion routines that have been extracted
37 from the V8 JavaScript engine. The code has been refactored and improved so that
38 it can be used more easily in other projects.
42 -DBUILD_SHARED_LIBS
=ON \
45 define Build
/InstallDev
48 $(1)/usr
/include/double-conversion
51 $(PKG_INSTALL_DIR
)/usr
/include/* \
55 $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*.so
* \
59 define Package
/libdouble-conversion
/install
64 $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*.so
* \
68 $(eval
$(call BuildPackage
,libdouble-conversion
))