pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math add math/libquadmath



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c067afa151c5
branches:  trunk
changeset: 452799:c067afa151c5
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 16 10:10:54 2021 +0000

description:
add math/libquadmath

GCC Quad-Precision Math Library

diffstat:

 math/Makefile                  |   3 ++-
 math/libquadmath/DESCR         |   1 +
 math/libquadmath/Makefile      |  41 +++++++++++++++++++++++++++++++++++++++++
 math/libquadmath/PLIST         |   5 +++++
 math/libquadmath/buildlink3.mk |  13 +++++++++++++
 math/libquadmath/distinfo      |   6 ++++++
 6 files changed, 68 insertions(+), 1 deletions(-)

diffs (103 lines):

diff -r 478f02603c2e -r c067afa151c5 math/Makefile
--- a/math/Makefile     Sun May 16 08:44:33 2021 +0000
+++ b/math/Makefile     Sun May 16 10:10:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.498 2021/04/29 23:31:41 thor Exp $
+# $NetBSD: Makefile,v 1.499 2021/05/16 10:10:54 nia Exp $
 
 COMMENT=       Mathematics
 
@@ -229,6 +229,7 @@
 SUBDIR+=       liblinear
 SUBDIR+=       libmatheval
 SUBDIR+=       libnumbertext
+SUBDIR+=       libquadmath
 SUBDIR+=       libshorttext
 SUBDIR+=       libsvm
 SUBDIR+=       linpack
diff -r 478f02603c2e -r c067afa151c5 math/libquadmath/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libquadmath/DESCR    Sun May 16 10:10:54 2021 +0000
@@ -0,0 +1,1 @@
+GCC Quad-Precision Math Library
diff -r 478f02603c2e -r c067afa151c5 math/libquadmath/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libquadmath/Makefile Sun May 16 10:10:54 2021 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2021/05/16 10:10:54 nia Exp $
+
+DISTNAME=      gcc-11.1.0
+PKGNAME=       ${DISTNAME:S/gcc/libquadmath/}
+CATEGORIES=    math
+MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/${DISTNAME}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://gcc.gnu.org/
+COMMENT=       GCC Quad-Precision Math Library
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= c99 c++
+USE_TOOLS+=    gmake
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+INFO_FILES=    yes
+
+GNU_CONFIGURE_STRICT=  no
+
+## Build outside ${WRKSRC}
+OBJDIR=                        ../build
+CONFIGURE_DIRS=                ${OBJDIR}
+CONFIGURE_SCRIPT=      ../${DISTNAME}/libquadmath/configure
+CONFIGURE_ARGS+=       --infodir=${PREFIX}/info
+
+PLIST_SUBST+=          NATIVE_MACHINE_GNU_PLATFORM=${NATIVE_MACHINE_GNU_PLATFORM}
+
+CHECK_PORTABILITY_SKIP+=       contrib/*
+
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(PKGSRC_COMPILER:Mgcc*)
+PKG_SKIP_REASON+=      "Uses esoteric GCC-specific features"
+.endif
+
+pre-configure:
+       ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 478f02603c2e -r c067afa151c5 math/libquadmath/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libquadmath/PLIST    Sun May 16 10:10:54 2021 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/16 10:10:54 nia Exp $
+info/libquadmath.info
+lib/gcc/${NATIVE_MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/quadmath.h
+lib/gcc/${NATIVE_MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/quadmath_weak.h
+lib/libquadmath.la
diff -r 478f02603c2e -r c067afa151c5 math/libquadmath/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libquadmath/buildlink3.mk    Sun May 16 10:10:54 2021 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/16 10:10:54 nia Exp $
+
+BUILDLINK_TREE+=       libquadmath
+
+.if !defined(LIBQUADMATH_BUILDLINK3_MK)
+LIBQUADMATH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libquadmath+=    libquadmath>=11.0
+BUILDLINK_ABI_DEPENDS.libquadmath+=    libquadmath>=11.0
+BUILDLINK_PKGSRCDIR.libquadmath?=      ../../math/libquadmath
+.endif
+
+BUILDLINK_TREE+=       -libquadmath
diff -r 478f02603c2e -r c067afa151c5 math/libquadmath/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libquadmath/distinfo Sun May 16 10:10:54 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/16 10:10:54 nia Exp $
+
+SHA1 (gcc-11.1.0.tar.xz) = 9db7917f4ce337026335430814de0a5e991ec6c1
+RMD160 (gcc-11.1.0.tar.xz) = 083384ca351ea1cb6e04d15425af2103c908edf4
+SHA512 (gcc-11.1.0.tar.xz) = fd6bba0f67ff48069d03073d1a9b5e896383b1cfc9dde008e868e60a9ec5014a837d56af0ecbf467b3fb9b37ec74a676e819a18b44393a0a3c4280175b5d7ad8
+Size (gcc-11.1.0.tar.xz) = 78877216 bytes



Home | Main Index | Thread Index | Old Index