1 ################################################################################
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)"
19 define LIBTOMMATH_INSTALL_STAGING_CMDS
20 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
="$(STAGING_DIR)" install
23 $(eval
$(generic-package
))