pkgsrc-WIP-changes archive

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

"New package" - muparser, update to 2.2.6



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Wed Jan 8 12:44:00 2020 +0100
Changeset:	23544d8e6bfcce3da1102a7a991b77449afb6d95

Modified Files:
	Makefile
Added Files:
	muparser/DESCR
	muparser/Makefile
	muparser/PLIST
	muparser/buildlink3.mk
	muparser/distinfo

Log Message:
"New package" - muparser, update to 2.2.6

Update muparser to 2.2.6
The version in pkgsrc is 200.2.2.2
The project moved from SourceForge to Github in 2016.

Package builds and installs without the patches applied
on the pkgsrc version.

Please review the need or, not of these patches.
Also, review the buildlink3.mk, as they differ.

I only needed this package as a build dependency and don't
know if testes are needed.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=23544d8e6bfcce3da1102a7a991b77449afb6d95

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  1 +
 muparser/DESCR         |  5 +++++
 muparser/Makefile      | 28 ++++++++++++++++++++++++++++
 muparser/PLIST         | 19 +++++++++++++++++++
 muparser/buildlink3.mk | 12 ++++++++++++
 muparser/distinfo      |  6 ++++++
 6 files changed, 71 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index bc4eb927c0..89bbb7f221 100644
--- a/Makefile
+++ b/Makefile
@@ -2282,6 +2282,7 @@ SUBDIR+=	munin-c-git
 SUBDIR+=	munin-common
 SUBDIR+=	munin-master
 SUBDIR+=	munin-node
+SUBDIR+=	muparser
 SUBDIR+=	mupen64
 SUBDIR+=	mupen64-base
 SUBDIR+=	mupen64-plugin-input
diff --git a/muparser/DESCR b/muparser/DESCR
new file mode 100644
index 0000000000..e961c1257d
--- /dev/null
+++ b/muparser/DESCR
@@ -0,0 +1,5 @@
+Many applications require the parsing of mathematical expressions.
+The main objective of this library is to provide a fast and easy way
+of doing this. muParser is an extensible high performance math parser
+library written in C++. It works by transforming a mathematical
+expression into bytecode and precalculating constant parts of the expression.
diff --git a/muparser/Makefile b/muparser/Makefile
new file mode 100644
index 0000000000..b09e15f3df
--- /dev/null
+++ b/muparser/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	muparser
+GITHUB_TAG=	v2.2.6.1
+DISTNAME=	v2.2.6.1
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=beltoforion/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://beltoforion.de/article.php?a=muparser
+COMMENT=	Parser for mathematical expressions
+LICENSE=	mit
+
+WRKSRC=		${WRKDIR}/muparser-2.2.6.1
+MAKE_JOBS_SAFE=	no
+GNU_CONFIGURE=	yes
+USE_CMAKE=	yes
+#USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+PKGCONFIG_OVERRIDE+=	build/autoconf/muparser.pc.in
+
+do-test:
+	cd ${WRKSRC}/samples/example1 && ${ECHO} quit | LD_LIBRARY_PATH=../../lib ./example1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/muparser/PLIST b/muparser/PLIST
new file mode 100644
index 0000000000..6261f1e479
--- /dev/null
+++ b/muparser/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+include/muParser.h
+include/muParserBase.h
+include/muParserBytecode.h
+include/muParserCallback.h
+include/muParserDLL.h
+include/muParserDef.h
+include/muParserError.h
+include/muParserFixes.h
+include/muParserInt.h
+include/muParserStack.h
+include/muParserTemplateMagic.h
+include/muParserTest.h
+include/muParserToken.h
+include/muParserTokenReader.h
+lib/libmuparser.so
+lib/libmuparser.so.2
+lib/libmuparser.so.2.2.6
+lib/pkgconfig/muparser.pc
diff --git a/muparser/buildlink3.mk b/muparser/buildlink3.mk
new file mode 100644
index 0000000000..bbb2fcb373
--- /dev/null
+++ b/muparser/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	muparser
+
+.if !defined(MUPARSER_BUILDLINK3_MK)
+MUPARSER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.muparser+=	muparser>=2.2.6.1
+BUILDLINK_PKGSRCDIR.muparser?=		../../wip/muparser
+.endif	# MUPARSER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-muparser
diff --git a/muparser/distinfo b/muparser/distinfo
new file mode 100644
index 0000000000..4cdd760696
--- /dev/null
+++ b/muparser/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (muparser/v2.2.6.1.tar.gz) = e489115c7424b3877bee7646cb748c6ef32cfa7f
+RMD160 (muparser/v2.2.6.1.tar.gz) = b488379c2628bd7ba4fdcd4d07f1e6e82152a6cc
+SHA512 (muparser/v2.2.6.1.tar.gz) = 01bfc8cc48158c8413ae5e1da2ddbac1c9f0b9075470b1ab75853587d641dd195ebea268e1060a340098fd8015bc5f77d8e9cde5f81cffeade2f157c5f295496
+Size (muparser/v2.2.6.1.tar.gz) = 755653 bytes


Home | Main Index | Thread Index | Old Index