python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / libtommath / libtommath.mk
blob2fc8c39c6e970e46b50880b6a83bdc7feb3ca1d9
1 ################################################################################
3 # libtommath
5 ################################################################################
7 LIBTOMMATH_VERSION = 1.0
8 LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBTOMMATH_VERSION)
9 LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz
10 LIBTOMMATH_LICENSE = WTFPL
11 LIBTOMMATH_LICENSE_FILES = LICENSE
12 LIBTOMMATH_INSTALL_STAGING = YES
13 LIBTOMMATH_INSTALL_TARGET = NO # only static library
15 define LIBTOMMATH_BUILD_CMDS
16 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
17 endef
19 define LIBTOMMATH_INSTALL_STAGING_CMDS
20 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
21 endef
23 $(eval $(generic-package))