update to libtommath-1.0
License changed from public domain to WTFPL Upsteam code changes are mostly bug fixes. Port changes are: * switch to GH_* infrastructure (-bzip2 bdep, no WRKDIST fixing) * drop PDF manual (which doesn't add much to comments in headers) * tests are no longer interactive OK sthen@
This commit is contained in:
parent
50f4414264
commit
f2fd9cb0bb
@ -1,43 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2015/12/03 21:24:30 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2016/03/04 10:38:48 czarkoff Exp $
|
||||
|
||||
COMMENT = number theoretic multiple-precision integer library
|
||||
V = 0.42.0
|
||||
REVISION = 0
|
||||
DISTNAME = libtommath-$V
|
||||
CATEGORIES = math
|
||||
HOMEPAGE = http://libtom.net/
|
||||
|
||||
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@openbsd.org>
|
||||
|
||||
MASTER_SITES0 = http://libtom.net/files/
|
||||
MASTER_SITES1 = https://spacehopper.org/mirrors/
|
||||
DISTFILES += ltm-$V.tar.bz2:0 ltm-manual-$V.pdf.gz:1
|
||||
GH_ACCOUNT = libtom
|
||||
GH_PROJECT = libtommath
|
||||
GH_TAGNAME = v1.0
|
||||
|
||||
# Public Domain
|
||||
# WTFPL
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MAKE_FLAGS = IGNORE_SPEED=Yes
|
||||
MAKE_FLAGS = IGNORE_SPEED=Yes \
|
||||
V=1 \
|
||||
PREFIX=
|
||||
FAKE_FLAGS = DESTDIR=${WRKINST}${PREFIX} \
|
||||
LIBPATH=/lib \
|
||||
INCPATH=/include
|
||||
USE_GMAKE = Yes
|
||||
MAKE_FILE = makefile
|
||||
WRKDIST = ${WRKDIR}/${PKGNAME}
|
||||
|
||||
ALL_TARGET = default
|
||||
TEST_TARGET = mtest
|
||||
TEST_IS_INTERACTIVE = Yes
|
||||
TEST_TARGET = coverage
|
||||
|
||||
CFLAGS += -fPIC
|
||||
|
||||
DOCPATH=${PREFIX}/share/doc/libtommath
|
||||
|
||||
post-test:
|
||||
@echo "\n\n\tThe test will run until interrupted (eg. by Control-C).\n"
|
||||
${WRKBUILD}/mtest/mtest | ${WRKBUILD}/test
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${DOCPATH}
|
||||
${INSTALL_DATA} ${WRKDIR}/ltm-manual-$V.pdf ${DOCPATH}/manual.pdf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,2 @@
|
||||
SHA256 (ltm-0.42.0.tar.bz2) = e1wlgwTDSsWQHP3bn4CbmzuKx9BPcAzwBqx2apI+shc=
|
||||
SHA256 (ltm-manual-0.42.0.pdf.gz) = ZJFcElR9Hy+nIhq7uD421IJxwBGtueiGI4G7Q/hSrG4=
|
||||
SIZE (ltm-0.42.0.tar.bz2) = 1968961
|
||||
SIZE (ltm-manual-0.42.0.pdf.gz) = 372580
|
||||
SHA256 (libtommath-1.0.tar.gz) = Wg1PmnLfussFy128VFz/5YsIwQNQbeaLJ43HbQXP4BA=
|
||||
SIZE (libtommath-1.0.tar.gz) = 643248
|
||||
|
@ -1,7 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2015/09/11 11:44:03 czarkoff Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2016/03/04 10:38:49 czarkoff Exp $
|
||||
include/tommath.h
|
||||
include/tommath_class.h
|
||||
include/tommath_superclass.h
|
||||
lib/libtommath.a
|
||||
share/doc/libtommath/
|
||||
share/doc/libtommath/manual.pdf
|
||||
|
Loading…
x
Reference in New Issue
Block a user