pkgsrc/math/ltm/Makefile
joerg 291b5ee331 Assume non-VAX uses IEEE754 floats. While it doesn't make a difference
for GCC here, clang doesn't define the same macros by default.

Bump revision.
2020-09-14 18:23:41 +00:00

34 lines
843 B
Makefile

# $NetBSD: Makefile,v 1.25 2020/09/14 18:23:41 joerg Exp $
DISTNAME= ltm-1.2.0
PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=libtom/}
GITHUB_PROJECT= libtommath
GITHUB_RELEASE= v${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.libtom.net/LibTomMath/
COMMENT= Number theoretic multiple-precision integer library
LICENSE= unlicense
WRKSRC= ${WRKDIR}/libtommath-${PKGVERSION_NOREV}
USE_LIBTOOL= yes
MAKE_FILE= makefile.shared
BUILD_TARGET= default
USE_TOOLS+= gmake
PKGCONFIG_OVERRIDE+= libtommath.pc.in
INSTALLATION_DIRS= share/doc/ltm
do-test:
(cd ${WRKSRC}; \
gmake -f makefile mtest/mtest test; \
./mtest/mtest | ./test)
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/bn.pdf ${DESTDIR}${PREFIX}/share/doc/ltm
.include "../../mk/bsd.pkg.mk"